Timeline for Administrator, superuser or root privileges?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 23, 2011 at 11:36 | comment | added | Marco Ceppi Mod | The man page. Both are correct - I don't think there is a set Acronym for su/sudo. | |
Jun 19, 2011 at 15:36 | comment | added | Stefano Palazzo Mod | Where did you learn about "switch user"? I find many different opinions as to the 'official' acronym (of the old "su" that is) on the internets. My source is a Unix book from the early nineties | |
Jun 19, 2011 at 10:14 | comment | added | Lekensteyn |
You mean id 0 (the root account). If [uid] is a number, you need to prefix it with a dash. Should the command start with a - , you'd better put -- before it to make sure that sudo it not interpreting it as an option (useful for user-supplied commands). Example: sudo -u#1001 -- whoami (with no whitespace between -u and # )
|
|
Jun 19, 2011 at 1:25 | comment | added | Marco Ceppi Mod |
su stands for Switch User , whereas sudo stands for Switch User & Do it just so happens that the default user to switch to is 0 You can sudo as a user other than root with sudo -u [uid] [command]
|
|
Jun 18, 2011 at 22:52 | history | answered | Stefano PalazzoMod | CC BY-SA 3.0 |