|
|
The auths(C) command allows you to list your kernel privileges, and to start up a shell so that you can issue commands with specific authorizations.
$ auths
kernel privileges: execsuid,chown
$To restore your authorizations, leave the shell started by the auths -a command.auths -a chown
$auths
kernel privileges: chown
$Leave the shell started by the auths -r command to restore your authorizations.auths -r chown
$auths
kernel privileges: execsuid
$ auths -r chown -c auths
kernel privileges: execsuid
When the user executes another list, the
chown authorization is restored:
$ auths
kernel privileges: execsuid,chown