su(1) will work when logged in as root; otherwise the password for the "run as" user is required.
Using sudo, any user can be permitted to "run as" another, without needing that userid's password. In addition, one can "run as" another user that does not have a usable $HOME or login shell.
|