Node:set-priv-bits, Next:set-passwd, Previous:get-person-stat-old, Up:Protocol Requests
set-priv-bits [7] (( person : Pers-No; privileges : Priv-Bits )) -> ( );
This call sets the privileges of person
to
privileges
. See Security. To successfully issue this call the
session must be logged in as a person with sufficient privileges.
Example:
1 7 6 0010000000000000 =1
This example sets the privileges of person 6 to nothing but
statistic
. This particular set of privileges might be useful
for a person used by a statistics-collecting dæmon.
login-first
undefined-person
person
is not a valid person.
permission-denied
wheel
bit set
and privilege level set to 6 or higher.