Su -l: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (link "root", though perhaps the root page is redundant overlap)
No edit summary
Line 2: Line 2:




'''su -l''' is a [[Linux]] command accessed using the [[Terminal Activity]] that enables ''Super-User'' power to modify the system as the '''[[root]]''' user.
'''su -''' is a [[Linux]] command for '''s'''ubstitute '''u'''ser or group rights while running a command within the [[Terminal Activity]] or a command console. In its default form, <tt>'''su -''' </tt>, it enables the root or admin or super user's power to modify the system (see '''[[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, which affects the commands that are available.


Various instructions will direct you to type '''su -l''' or '''su'''. On some laptops, the next prompt will be "Password:". If this happens, and you do not have a root password, type '''sudo sh''' instead.
Various instructions will direct you to type <tt>'''su -l'''</tt> (<tt>'''l''' </tt>being a lower-case L for ''login'') or just <tt>'''su'''</tt>. On some laptops, the next prompt will be "Password:". If this happens, and you do not have a root password, type <tt>'''sudo sh'''</tt> instead.

See reference wiki, http://man-wiki.net/index.php/1:su

Revision as of 06:18, 8 March 2009

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 or 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 power to modify the system (see root user).

Overview

It gives you a login shell, which affects the commands that are available.

Various instructions will direct you to type su -l (l being a lower-case 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 sh instead.

See reference wiki, http://man-wiki.net/index.php/1:su