The Technodrome Forums

Go Back   The Technodrome Forums > General Forums > General Discussion > Everything Else

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-31-2006, 09:48 AM   #1
JameO
Mad Scientist
 
JameO's Avatar
 
Join Date: Mar 2003
Location: Ontario, Canada
Posts: 1,753
Linux Help (Fedora Core 4)

Well, we've got this thing to do for school, we have to setup or Fedora Core 4 and do all these things in the assignment, anyone with Linux knowledge, can you please help because im so lost on this, thanks alot, sites would be helpful or code if you know what you are doing! Thanks alot in advanced.

(a) setup your system to boot to run level 3
(b) setup your system so that the command "mount /dev/fd0" will attached a floppy disk to the directory "/floppy"
(c) install the rpm package for the "tree" utility (from your Fedora Core 4 DVD or CDs)
(d) setup your system login banner to say "There are 10 types of people, those who understand binary and those who do not." (to be displayed on all virtual consoles before the login prompt)
(e) setup your system login message to say "In theory, there is no difference between practice and theory. In practice, there is." (User should see this after login to the system)
(f) setup your system so that every user has a command alias called "deltmpdir" which will delete the contents of a directory called "tmp" below their home directory.
(g) setup your system so that your learn account has a shell prompt that includes todays date.


2. Intermediate tasks
Research on your Fedora Core 4 system to come up with sets of commands to accomplish the following tasks :
(5 points for each completed task)

(a) A listing of all the files under the /tmp directory and its sub-directories that have been created or changed since the system was booted.
(b) A listing of all the files under the /etc directory and all its sub-directories that have been created or modified since mid-night.
(c) A listing of all the files under the /var directory and all its sub-directories that have been created or modified within the last 7 days.
(d) A listing of all the files under the /home directory and all its sub-directories that were more than 7 days old

Put each set of commands in a separate file. Name the file for task (a) as "asgm1a.sh", task (b) as "asgm1b.sh", etc.
These files should execute as shell scripts by entering ./asgm1x.sh with no errors. Where 'x' is the task letter.


3. Applied Research
Study the man page for the "sudo" command and
(a) (20 points) update (use the proper program) sudo's configuration file to allow your learn account to run sudo for the following commands as root:
mount
ls
ifconfig
route
(b) (10 points) Create a new user called "helper" and allow this user to run sudo for the following commands as your learn account:
ls
less
__________________
"Lie, Cheat & Steal, Atleast I'm Honest"
JameO is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 11:19 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.