- Create a new group 'dev'
- Create a new user 'alice'. Make sure she is a member of the 'dev' group. Also, set
her description to "Alice from Dev", and her default shell to '/bin/csh'
- Check the log files and look for the log entries generated by adding alice to the
system
- Create a new group 'mktg'
- Create a new user 'bob' as a member of group 'mktg' and secondary member of the 'dev'
group. Lock his account after you create it.
- Modify user 'bob' and make his primary group 'dev' and his secondary group 'mktg'.
- Unlock user 'bob'
- Set the minimum password lifetime on 'bob' and 'alice' to 21 days, and the maximum
lifetime to 45 days
- From the '/' directory, create a tar file backup of the home directory
- Create a new directory, '/backups'
- Set the permissions on the '/backups' directory to read/write/execute for owner, and no
perms for everyone else
- Using the highest compression level, compress your backup with gzip and move it to the
'/backups' directory
- Startup a 'netstat 1' command in the background. Make sure to redirect it's output to
a file, so it isn't cluttering up your screen!
- Stop your job
- View the results of the job so far, in it's output file. You should see lots of information
about all the network connections currently existing on your computer.
- Check the size of the file. Wait 5 seconds, check it again. Make sure it isn't
growing.
- Start the job running again.
- Check the size of the file. Wait 5 seconds, check it again. Make sure it *is*
growing.
- Go ahead and kill the job.
- Going back to your home directory backup. cd into the '/tmp' folder. Extract your home
backup. Check that the extract worked by comparing the '/tmp/home' folder with the '/home'
folder.
- Figure out a way to count the total number of RPM packages installed on your machine.
- Generate an alphabetized list of the installed RPM packages on your machine.
- To what package does the '/usr/bin/time' command belong?