Differences between revisions 19 and 23 (spanning 4 versions)
Revision 19 as of 2011-01-17 13:36:12
Size: 1972
Editor: ?khaled
Comment:
Revision 23 as of 2012-02-24 14:41:38
Size: 1947
Editor: ?BertrandMarc
Comment: Add a link to the french translation
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
##
||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[es/Root|Español]] - [[ar/Root|العربيةo]] - [[it/Root|Italiano]] -~ ||<style="text-align: right; border: 0px hidden"> (!) [[/Discussion|Discussion]]||
||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[es/Root|Español]] - [[fr/Root|Français]] - [[ar/Root|العربية]] - [[it/Root|Italiano]] - [[ru/Root|Русский]] -~ ||<style="text-align: right; border: 0px hidden"> (!) [[/Discussion|Discussion]]||
Line 5: Line 4:
'''Root''' is the name of the most powerful account on a Debian installation. The {{{root}}} user account can do everything on the machine. Root is also known as supervisor and administrator. Root's home ({{{~}}}) folder is {{{/root}}}.
Line 6: Line 6:
<<TableOfContents(2)>>
= What is root? =
Root is the name of the most powerful account on a Debian installation. The {{{root}}} user account can do everything on the machine. Root is also known as supervisor and administrator. Root's home ({{{~}}}) folder is {{{/root}}}.
{{{root}}} has [[WikiPedia:User_identifier|uid]] 0 and [[WikiPedia:Group_identifier|gid]] 0.
Line 10: Line 8:
{{{root}}} has uid<<FootNote(uid is the user identifier, a number which identifies all user accounts.)>> 0 and gid<<FootNote(gid is the group identifier.)>> 0. <<TableOfContents>>
Line 12: Line 10:
= Password = == Password ==
Line 18: Line 16:
= How to use root level access as a normal user =
=
= How to use root level access as a normal user ==
Line 20: Line 19:
 * From console : read ''Debian Reference''{{{}}}'s [[http://www.debian.org/doc/manuals/reference/ch-tutorial#s-login-root|Login to a shell prompt as root]]  * From console : read ''Debian Reference''{{{}}}'s [[http://www.debian.org/doc/manuals/reference/ch01.en.html#_the_root_shell_prompt|Login to a shell prompt as root]]
Line 23: Line 22:
To find out as which user you're operating now, execute the command {{{whoami}}} .
----
To find out as which user you're operating now, execute the command {{{whoami}}}.

Translation(s): English - Español - Français - العربية - Italiano - Русский

(!) ?Discussion


Root is the name of the most powerful account on a Debian installation. The root user account can do everything on the machine. Root is also known as supervisor and administrator. Root's home (~) folder is /root.

root has uid 0 and gid 0.

Password

At installation time, you are asked whether you want to use the root account or not.

  • If you want to (the default), you'll be asked to provide a complex password for root. Use a strong one!

  • If not, no root account is enabled and the password of the first user created will be used for administration tasks.
  • If you forgot your password, read "I forgot the root password!"

How to use root level access as a normal user

  • Under Gnome : in Gnome Application Menu/Accessories/Root Terminal
  • From console : read Debian Reference's Login to a shell prompt as root

  • In a terminal : you can use su (or gksu) to change your identity to root.
    However, it's recommended to configure and use sudo (or gksudo) to run a given command.

When you change from a normal user to root, your prompt will change from user@mypc:~$ to root@mypc:/home/user# .
To find out as which user you're operating now, execute the command whoami.