Exercises


1.

How does single-user mode differ from multiuser mode?

2.

How does the use of lock icons that require password authentication to open reflect the principle of least privilege?

3.

What do the letters of the su command stand for? (Hint: It is not Superuser.) What can you do with su besides give yourself Superuser privileges? How would you log in as Alex if you did not know his password but knew the root password? How would you establish the same environment that Alex has when he first logs in?

4.

How would you allow a user to execute privileged commands without giving the user the Superuser password?

5.

Assume you are working as Superuser. How do you kill process 1648? How do you kill all processes running Safari?

6.

What is the difference between LaunchAgents and LaunchDaemons? Why does each user's home directory have a Library/LaunchAgents directory but not a Library/LaunchDaemons directory?

7.

Develop a strategy for coming up with a password that an intruder would not be likely to guess but that you will be able to remember.




A Practical Guide to UNIX[r] for Mac OS[r] X Users
A Practical Guide to UNIX for Mac OS X Users
ISBN: 0131863339
EAN: 2147483647
Year: 2005
Pages: 234

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net