9
edits
Changes
no edit summary
{{Admon/note | Important | To complete the first task you may need to create an additional virtual disk image for the <code>fedora2</code> virtual machine.}}
#Setup your system so that the command <code>mount /assignmentdirassignment</code> -- executed by any user -- will attach the logical volume <code>assignmentassign-vol</code> from the volume group called <code>ASSIGNMENTGROUPASSIGNGROUP</code> (minimum 100 MB) to the mountpoint <code>/assignmentdirassignment</code> (The volume should NOT be automatically mounted at boot time) #Setup your system login message to say '''The Open Source Community Is About Freedom And ChoiceChanging The Computing World''' (to be displayed on all virtual consoles after the login prompt)#Setup your system login banner to say '''Free as in --Free of Charge-- is good tooFreedom.''' (User should see this before login to the system)#Setup your system so that every user has a command alias called <code>rmtempdirdeltemp</code> which will delete the contents of a directory called <code>~/temp</code> '''NOT''' the <code>/tmp</code> directory.#Setup the bash environment for the user '''root''' so that the prompt includes the current date.
==Finding your way==
'''Research on your Fedora system to come up with sets of commands to accomplish the following tasks :(5 points for each completed task)'''
#Display a list of all the files under the <code>/etcboot</code> directory and its sub-directories that have been created or modified within the last 4 hours.#Display a list of all the files under the <code>/varetc</code> directory and all its sub-directories that have been created or modified today (since mid-night).#Display a list of all the files under the <code>/boot</code> directory and all its sub-directories that have been accessed or modified within the last 30 minutes#Display a list of all the files under the <code>/homevar</code> directory and all its sub-directories that were last modified more than 4 days ago
Put each set of commands in a separate file. Name the file for task (1) as ass1-1, task (2) as ass1-2, etc. It must be possible to run these script files simply by typing their name (set the permissions appropriately).
#Update sudo's configuration file (using the proper program) to allow your Learn account to run <code>sudo</code> for the following commands as <code>root</code>: (8 points)
#*<code>mkfsmount</code>
#*<code>fdisk</code>
#*<code>ifconfigpasswd</code>#*<code>lesslspci</code>
#Create a new user called <code>helper</code> and allow this user to run <code>sudo</code> for the following commands as your learn account: (4 points)
#*<code>findhead</code>#*<code>greptail</code>
==Package Management==
#*You will be asked to demonstrate how to switch to this desktop environment and back again without restarting the X server.
'''Review the procedures for compiling and installing software from source code and use them to: (7 8 points)'''
#Find and install the E3 text editor from source code. The project page for it can be found here: [http://freshmeat.net/projects/e3 E3 Project]
#*You will be asked to demonstrate how to create a file using this editor.
==SysAdmin Portion==
'''Create a bash script called <code>/bin/snapshot.sh</code> to record the following information: (6 points)'''
*A list of all recent bad login attempts.
*A list of Logical Volumes, Physical Volumes, and Volume Groups.
*A report of all mounted filesystems, the amount of space used and the amount of space available.
*The information should be appended to the file <code>/var/log/mysnapshotsnapshot.txt</code>
'''Research the <code>at</code> command and and schedule your script to execute at 2:00am on Wednesday March 31stAugust 4th. (2 points)'''
==Exploring Your Options==
*Video Editing
*Accounting/Bookkeeping
*First Person Shooter Real Time Strategy Game
{| style="float: right; margin: 0 0 3em 2em; border: 1px solid black;"
!style="background: #cccccc"| Assigned 2nd Distros for Winter Summer 2010
|-
|[[OPS235_A1W10_A|Section A]]<br/>
*<code>/etc/motd</code>
*<code>/etc/bashrc</code>
*<code>.bashrc</code>*<code>/bin/snapshot.sh</code>
*<code>/etc/sudoers</code>