msu.conf
.
It can be used as a login shell to provide multiple users with access to a
single account, each with their own 'login' and 'password', or as convenient
access to a shared account. It sets the uid and gid to that of the destination account but does not revoke any existing group membership.
If given an account
msu
will check the
msu.conf
file to ensure that the current user has access to the specified account.
If invoked without arguments
msu
will su to the first destination account in
msu.conf
to which the current user has access.
msu will syslog all attempts, successful or not.
msu.conf
is of the form:
destination_account:path_to_shell:account1,account2,account3
HOME
OLD_USER
USER
variable.
SHELL
msu.conf
.
USER
LD_PRELOAD
and similar variables from the environment.
web:/bin/tcsh:fu,bar,bundy
pgsql:/bin/tcsh:fu,man,chu