4 ms·
su - [username]
by thaumaturgy 17y ago
su - [username]
- nailer 17y agoSwitching to a named user you know and starting a login shell isn't the same as presenting a list of possible users who have the privilege. One possible hypothetical Unix equiv would be: command <failure message returns 'sudo -l' from everyone that does have access> <user interface to PAM-type app to prompt for credentials and 'sudo -l <command>' as one of the above users> This doesn't exist as far as I know.