Open main menu

CDOT Wiki β

Changes

OPS235 Lab 1 - Fedora17

933 bytes added, 22:43, 2 September 2010
no edit summary
== Required materials ==
* [http://fedoraproject.org/get-fedora Fedora 1213] Live CD
* USB flash drive, 64 MB or more in size (Warning: the contents of this drive will be erased)
* One SATA hard disk in a removable drive tray (minimum 160GB)
After switching user notice and make note of the change in your shell prompt. Also note the difference in output for the <code>whoami</code> and <code>pwd</code> commands.
'''Whenever this is required, make a note of it, and determine why superuser privilege is required.'''
When you are finished using the root account type exit to return to your previous account. '''Avoid using the superuser account unless absolutely necessary, because the superuser account has unlimited privilege and a typo can destroy your system.''' In some documentation, you may see the command <code>su -</code> used in place of <code>su</code>. The dash argument causes <code>su</code> to go through the steps that would normally be performed when the root user logs in, including (1) running the startup scripts (such as <code>/etc/profile</code> and <code>/root/.bash_profile</code> and (2) changing to the root user's home directory (<code>/root</code>). Note that the root user's home directory (<code>/root</code>) is ''not'' the same as the root directory of the system (<code>/</code>). It is also in a different directory than the rest of the home directories, which are typically in <code>/home</code> -- the reason for this is that <code>/home</code> is sometimes on a network filesystem shared by another server (as is the case on Matrix), and it's important that the system administrator be able to log in to the system even if the network is not operating normally.
}}
{{Admon/important|Disabling the Auto-mounting of Devices|Normally, when a storage device such as a USB drive is inserted, the system will automatically detect the storage device and use it. However, for this lab, we need to disable the ability for our Fedora system to automatically detect storage devices; this would interfere with the learning objectives of the rest of the lab. To do disable auto-detection of devices, this enter the command: <code>killall devkit-disks-daemonudevd</code>. '''You will need to do this again if you reboot during this lab.'''}}
=== Investigation 1: How does Linux enable you to access two different drives without using a drive designator? ===