Su: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
m (added box.)
Line 1: Line 1:
{{Linux Software}}
This page is about using the '''su''' command in the [[Terminal]].
This page is about using the '''su''' command in the [[Terminal]].



Revision as of 09:23, 10 February 2008

Template:Linux Software This page is about using the su command in the Terminal.

WARNING you can erase all the data on your OLPC by using the su command, so be careful.

On newer builds of the OLPC software, the superuser account is disabled by default.

To set the password for su

sudo passwd
  • You will be prompted to enter a new password for the superuser. Type one in, then press enter.
  • Re-enter your password when prompted.
  • If the two passwords were identical, you will see the message:
passwd: all authentication tokens updated successfully.

You should now be able to enter superuser mode by typing

su -

and entering your new password.

See Also

  • Sudo The sudo command