Su -l

From OLPC
Jump to navigation Jump to search
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