Invoke su with a username and
you'll be prompted for that
person's password. If you invoke
su without a username, the system logs you in as
root and asks you for root's password. Without
passing in any other flags, you'll be logged in with
your environment variables, except for HOME,
SHELL, and USER. If you
want to emulate the full environment of the user -- for debugging
purposes or whatever -- use the -l flag with
su:
bash-2.04$ su -l
Password: