Exam Essentials

Know the UIDs for the built-in root, daemon, bin, nobody, and noaccess accounts. root is UID 1, daemon is 2, bin is 3, nobody is 60001, and noaccess is 60002.

Know the recommendations for using UIDs and GIDs. Although UIDs and GIDs can be as large as the largest value for a signed integer, 2147483647, it's recommended that you not use numbers greater than 60000. Numbers below 100 should be reserved for system accounts as well.

Know the commands used to add, modify, and delete users. To add users, use the useradd command. Use usermod to modify users, and userdel to delete users.

Know the commands used to add, modify, and delete groups. Groups are added with the groupadd command, modified with groupmod, and deleted with groupdel.

Know how to read an /etc/passwd file. User account information is stored in /etc/passwd. The fields in /etc/passwd are as follows: username:password:UID:GID:comment:home_ directory:login_shell.

Know how to read an /etc/shadow file. The /etc/shadow file contains the users' encrypted passwords and is very important to protect. The fields in /etc/shadow are as follows: username:password:lastchg:min:max:warn:inactive:expire:flag.

Know how to switch users on a system. To switch users on a system, use the su command.

Know what the default shell is in Solaris 9. The default shell is the Bourne shell.

Know the initialization files for the Bourne, C, and Korn shells. For the Bourne and Korn shells, the initialization file is $HOME/.profile. For the C shell, they are $HOME/.cshrc and $HOME/.login.




Solaris 9. Sun Certified System Administrator Study Guide
Solaris 9 Sun Certified System Administrator Study Guide
ISBN: 0782141811
EAN: 2147483647
Year: 2003
Pages: 194

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