The root Account
su |
|
||||
|
Limiting access to su |
||||
|
AIX: |
Limited to groups listed in the |
|||
|
FreeBSD: |
Define the member list for group 0 as non-null. |
|||
|
Linux: |
Use the |
|||
|
su log file |
|
|
||
|
AIX: |
/var/adm/sulog |
FreeBSD: |
/var/log/messages |
|
|
HP-UX: |
/var/adm/sulog |
Linux: |
/var/log/messages |
|
|
Solaris: |
Specified in the |
Limiting direct root logins to the console
AIX: |
|
FreeBSD: |
Omit |
HP-UX: |
/etc/securetty lists devices where root is allowed to log in (omit “/dev/” from the names). |
Linux: |
Use the |
Solaris: |
/etc/default/login: |
Granting Limited root Powers
sudo† |
|
||
Run the specified command using the |
|||
|
Options |
||
|
|
Reset the grace period to its full length. |
|
|
|
Terminate the grace period. |
|
|
|
Run the command as the specified user (rather than root). |
|
|
|
List allowed commands for the current user ... |
Get Essential System Administration Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.