logicnerd411
Flashlight Enthusiast
All right, guess what I'm using? Mandrake Linux 9.1. The installation was very easy and took me lass than 30 minutes. WOW. Let's see if I can figure this thing out...
<font size="2" face="Verdana, Arial">In Linux and some UNIX variants (notably BSD csh variants) it is true that the superuser command was renamed "substitute user," "switch user,"or "set user."Originally posted by Gun Nut:
Actually SU is a "Switch User" command. You can type in a username after the SU and if you know the password, you can be somebody else. SU with nothing after it defaults to root ...
<font size="2" face="Verdana, Arial">(and on for another 4 pages ... )Maintenance Commands su(1M)
NAME
su - become super user or another user
SYNOPSIS
su [ - ] [ username [ arg ... ] ]
DESCRIPTION
The su command allows one to become another user without
logging off or to assume a role. The default user name is
root (super user).
To use su, the appropriate password must be supplied (unless
the invoker is already root). If the password is correct, su
creates a new shell process that has the real and effective
user ID, group IDs, and supplementary group list set to
those of the specified username. The new shell will be the
shell specified in the shell field of username's password
file entry (see passwd(4)). If no shell is specified,
/usr/bin/sh is used (see sh(1)). To return to normal user ID
privileges, type an EOF character (<CTRL-D>) to exit the new
shell.
Any additional arguments given on the command line are
passed to the new shell. When using programs such as sh, an
arg of the form -c string executes string using the shell
and an arg of -r gives the user a restricted shell.
The following statements are true if the login shell is
/usr/bin/sh or an empty string (which defaults to
/usr/bin/sh) in the specific user's password file entry. If
the first argument to su is a dash (-), the environment will
be changed to what would be expected if the user actually
logged in as the specified user. Otherwise, the environment
is passed along, with the exception of $PATH, which is
controlled by PATH and SUPATH in /etc/default/su. Addition-
ally, the user's project ID is set if the dash argument is
present. See settaskid(2)
All attempts to become another user using su are logged in
the log file /var/adm/sulog (see sulog(4)).