Su -l: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 2: Line 2:




'''su -l''' is a [[Linux]] command accessed using the [[Terminal Activity]] that enables ''Super-User'' power to modify the system.
{{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==


'''Please Note:''' The final character in the '''su -l''' command is a '''Lower Case L''', not the '''Numeral One'''. It gives you a login shell, which affects the commands that are available. You can leave the "l" part off, as is traditional, like so: '''su -'''
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

This page is part of the XO Support FAQ.     Support Index | Print This Page
<imagemap>

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]

  1. Comment : there's some whitespace here:

rect 135 205 345 408 Other support

  1. 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