Su -l: Difference between revisions
No edit summary |
|||
(4 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
'''su - |
{{Code|'''su -'''}} is a [[Linux]] command for '''s'''ubstitute '''u'''ser and group rights while running a command within the [[Terminal Activity]] or a command console. In its default form, {{Code|'''su -'''}}, it enables the root or admin or super user's permissions to modify the system (see {{Code|'''[[root]]'''}} user). |
||
==Overview== |
==Overview== |
||
It gives you a login shell session that affects the commands that are available. |
|||
Various instructions will direct you to type {{Code|'''su -l'''}} ({{Code|'''l'''}} being a lower-case letter L, for ''login'') or just {{Code|'''su'''}}. On some laptops, the next prompt will be "Password:". If this happens, and you do not have a root password, type {{Code|'''sudo su'''}} instead. |
|||
Enter the '''Ctrl D''' key combination (or enter the {{Code|logout}} command) to exit the root user session. |
|||
See reference wiki, http://man-wiki.net/index.php/1:su |
Latest revision as of 05:24, 2 August 2012
Image:Support-banner-square.png|173px|community support pages rect 0 0 135 204 [1] rect 135 0 345 204 Support FAQ rect 0 205 135 408 [2]
- Comment : there's some whitespace here:
rect 135 205 345 408 Other support
- maybe desc none is better. testing.
desc none
</imagemap>
su - is a Linux command for substitute user and group rights while running a command within the Terminal Activity or a command console. In its default form, su -, it enables the root or admin or super user's permissions to modify the system (see root user).
Overview
It gives you a login shell session that affects the commands that are available.
Various instructions will direct you to type su -l (l being a lower-case letter L, for login) or just su. On some laptops, the next prompt will be "Password:". If this happens, and you do not have a root password, type sudo su instead.
Enter the Ctrl D key combination (or enter the logout command) to exit the root user session.
See reference wiki, http://man-wiki.net/index.php/1:su