Assignment 01, USA 2004

This assignment is to start getting you familiar with your machine and what is available on it. Write it up as an HTML page and post it as explained earlier.

Accounts - looking back

Check that the /etc/passwd and /etc/shadow files on your machine have the "real" root entry at the top, followed by the appropriate "user" root entries, followed by a bunch of admininstrative logins (which you should start figuring out), followed by the class logins that you added.

You should have made an /opt/admin-action directory, and installed the admin-action script somewhere so all administrators can execute it (my suggestion is /usr/local/sbin.

I suggest creating a group that all administrators belong to, and making that script executable by members of the group, and the admin-action directory having read-write access by members of the group.

(joint)Part 1: your actions

Show me an ls -l listing of your /opt/admin-action directory.

(joint)Part 2: Daemons

Execute the netstat -A inet -n -l command to learn what daemons are listening, decide on which of them you want to keep, disable the others.

Perform the command again to show what you are now running, and give a brief explanation of what you think each listener is doing.

(indiv)Part 3: Configuration

Perform a chkconfig for your machine, show the listing, and give a one-or-two sentence explanation of the purpose of as many of the daemons as you can. You can discuss this with your administrative mates, but try to make sure you individually understand what is going on.

Also explain why you think the daemon is on or off in various states. You can just give a general explanation of this, you need not do it individually.