CMIT 391 Name:__________________________________ Partitions, filesystems, mounting On each of the three Linuxes: paste the (specific) output: Fedora: /proc/partitions ls -l of the device files of those partitions. df's output about them. mount's output about them. Their entries in /etc/fstab **************************************************** Xen: /proc/partitions ls -l of the device files of those partitions. df's output about them. mount's output about them. Their entries in /etc/fstab **************************************************** cmit265: /proc/partitions ls -l of the device files of those partitions. df's output about them. mount's output about them. Their entries in /etc/fstab **************************************************** What filesystem-specific mount commands are available on each system? Fedora: Xen: cmit265: What entries are in /etc/fstab about removable media: Fedora: Xen: cmit265: Does each system use /mnt or /media for removable media mount points: Fedora: Xen: cmit265: What files/directories are in that directory: Fedora: Xen: cmit265: Add the Mounter applet to your Fedora panel. What does it indicate is mounted?__________________________________ Insert a USB flash memory stick into Fedora. What does Mounter applet indicate is mounted?__________________________________ What is added to: /proc/partitions mount df ls -l of its device file USB memory sticks (somehow) use the SCSI software. Look in /proc/scsi/usb-storage for the file about the stick. Paste its contents here: Insert a CD into Fedora. What does Mounter applet indicate is mounted?__________________________________ What is added to: /proc/partitions mount df ls -l of its device file CDs (somehow) use the SCSI software. Look in /proc/scsi/scsi for information about the CD drive. Paste that info here: scsi_info umount the device file or the mount point to unmount the removable media. eject to eject it. ************************************************ Do regular users UIDs start at 500 or 1000: Fedora: Xen: cmit265: Use either cut -d: -f N /etc/passwd awk -F: '{print $N}' /etc/passwd where N is a number to extract the Nth field of the colon-delmited passwd file. List the different login applications that are used by the entries in the passwd file. Hint: extract the field, pipe into sort -u Fedora: Xen: cmit265: What is your default group and its GID: Fedora: Xen: cmit265: What is your hashed password (2nd field of /etc/shadow) Xen: What is your umask: Fedora: Xen: cmit265: On your Fedora, change umask to 077, create a file and a directory. their permissions file : directory: change umask to 027, create a file and a directory. their permissions file : directory: change umask to 022, create a file and a directory. their permissions file : directory: List the filenames in /bin, /sbin, /usr/bin and /usr/sbin that have SUID. the man page of find has an example: find /dir -perm -4000