Prev | Current Page 341 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"


Even after jake has given the password, he must still use the sudo command to run subsequent
administrative commands as root (the umount fails, but the sudo umount succeeds). Notice that
he is not prompted for a password for the second sudo. That??™s because after entering his password
successfully, he can enter as many sudo commands as he wants for the next 5 minutes without
having to enter it again. (You can change the timeout value from 5 minutes to however long you
want by setting the passwd_timeout value in the /etc/sudoers file.)
The preceding example grants a simple all-or-nothing administrative privilege to everyone you put
in the wheel group. However, the /etc/sudoers file gives you an incredible amount of flexibility
in permitting individual users and groups to use individual applications or groups of applications.
Refer to the sudoers and sudo man pages for information about how to tune your sudo facility.
Refer to the pam_wheel man page to see how the pam facility affects members of the wheel group.
Administering Your Linux System
Your system administrator duties don??™t end after you have installed Linux. If multiple people are
using your Linux system, you, as administrator, must give each person his own login account.
You??™ll use useradd and related commands to add, modify, and delete user accounts.


Pages:
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353