|CALIFE(1)||General Commands Manual||CALIFE(1)|
calife — becomes
root (or another user) legally.
||[-] [login] for some sites (check with your administrator).|
Calife requests user's
own password for becoming login (or
root, if no login is provided), and switches to that
user and group ID after verifying proper rights to do so. A shell is then
calife is executed by root, no password
is requested and a shell with the appropriate user ID is executed.
The invoked shell is the user's own except when a shell is
specified in the configuration file
``-'' is specified on the command line,
user's profile files are read as if it was a login shell.
not the traditional behavior of
Only users specified in
calife to become another one with this
You can specify in the
the list of logins allowed for users when using
calife. See calife.auth(5) for
calife.auth is installed as
- List of users authorized to use
califeand the users they can become.
- This script is executed just after getting out of
The original environment is kept. This is
not a security problem as you have to be yourself at
login (i.e. it does not have the same security implications as in
Environment variables used by
- Default home directory of real user ID.
- Default search path of real user ID unless modified as specified above.
- Provides terminal type which may be retained for the substituted user ID.
- The user ID is always the effective ID (the target user ID) after an
suunless the user ID is 0 (root).
The MD5-based crypt(3) function is slower and probably stronger than the DES-based one but it is usable only among FreeBSD 2.0+ systems.
calife command appeared in DG/UX,
written for Antenne 2 in 1991. It has evolved considerably since this period
with more OS support, user lists handling and improved logging.
PAM support was introduced in 2005 to port it to MacOS X variants (Panther and up).
Ollivier Robert <email@example.com>
|September 25, 1994||Debian|