NAME

rmbks - remove BoKS user account(s)

SYNOPSIS

rmbks [ -k ] [ -H ] users

DESCRIPTION

rmbks removes one or more users from the BoKS database. All information concerning login/logout dates
and login terminals will be removed. Log entries will not be removed.
The users home directory and private files are not affected by rmbks itself, but may be affected by any hook
programs executed (See NOTES).
Every successfully removed user will result in a system log entry.

OPTIONS

-k
If this option is given users will only be removed from the BoKS database, but local user accounts
are not deleted.
-H
Don’t run any hook program defined in $BOKS_etc/ssm_hook_config. ($BOKS_etc/post_rmbks is
still executed if present, see NOTES).

DIAGNOSTICS

0 normal return if no users were specified or at least one was removed
1 one or more user was specified, but no user at all was removed by rmbks or some other unexpected
problem occurred.
2 rmbks was called with invalid options

NOTES

The default local super-user account ( root on UNIX hosts, Administrator on Windows host) will not be
removed even if -k is not specified.
Unless the -H flag is given, any DELUSER program defined in $BOKS_etc/ssm_hook_config will be
executed before each user removal. rmbks will always execute $BOKS_etc/post_rmbks if it is present even
if -H is given. It is not present by default, but an example script is provided in $BOKS_lib/post_rmbks. We
recommend using ssm_hook_config for configuring execution of extra scripts to run as support for
post_rmbks may go away in a future release.

SEE ALSO

mkbks(1B), modbks(1B), bksdef(1B), ssm_hook_config(4B).

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: June 14, 2019