Switch user ID (UNIX)
su [-c] [userid [arguments]]
- Pass the specified list of arguments to the shell.
- Switch to the specified user ID.
The su utility lets you temporarily become another user,
then return to your regular userid.
The su utility requests the password of the given
userid (root, by default) and changes to that
userid, invoking its shell but modifying only
essential elements of the environment. Only the HOME,
PATH, and possibly SHELL environment
variables are changed, but the new shell has the rights and privileges of the
user specified. The new userid remains in effect until
this shell exits.
- The QNX Neutrino Korn shell command interpreter.
- The bit bucket.
- This file is used to lock password files when modifications are taking place.
- Logs system accounting information.
- The passwd utility copies this file as a user's initial .profile
when it creates a new account.
- Defines the known groups for the system.
- Defines the valid user IDs on the system.
- Contains encoded versions of the actual passwords for user accounts.
The passwords themselves aren't stored in the /etc/passwd
- Records all su activity.
Logging In, Logging Out, and Shutting Down
in the Neutrino User's Guide