Use adminuser with the -r option to remove commands and privileges from a user.
To remove commands and privileges from a user, perform the following:
The command_name is the name of a command defined for that role.
adminuser darrelldarrell: roles: assistant Commands: mount:/etc/mount mount umount:/etc/umount dacread dacwrite mount fsck:/etc/fsck mount #
adminuser -r umount:dacread,fsck darrell#
adminuser darrelldarrell: roles: assistant Commands: mount:/etc/mount mount umount:/etc/umount dacwrite mount #
Removing privileges and commands for a user
Assuming that entries exist in the TFM database for umount and fsck for darrell, the dacread privilege is removed from the umount command, while the remaining privileges are left intact, and the entire entry for fsck is removed. Note that the privileges used here are examples only; they may not be privileges you want to use with these commands.