Differences between revisions 34 and 35
Revision 34 as of 2021-05-18 06:12:53
Size: 2083
Comment: gksu is dead, remove mention. Reference doas.
Revision 35 as of 2021-08-20 21:06:40
Size: 2120
Editor: ThiagoPezzo
Comment: add pt_BR link in translation header
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)]]: [[ar/Root|العربية]] - English - [[es/Root|Español]] - [[fr/Root|Français]] - [[it/Root|Italiano]] - [[ru/Root|Русский]] - [[sv/Root|Svenska]] - [[zh_CN/root|简体中文]]-~ || ||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: [[ar/Root|العربية]] - English - [[es/Root|Español]] - [[fr/Root|Français]] - [[it/Root|Italiano]]  - [[pt_BR/Root|Português (Brasil)]]- [[ru/Root|Русский]] - [[sv/Root|Svenska]] - [[zh_CN/root|简体中文]]-~ ||

Translation(s): العربية - English - Español - Français - Italiano - Português (Brasil)- Русский - Svenska - 简体中文

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.


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 root password, you first need to reset the password, then log as root (now accessible without password) and run passwd to set a new password.

How to use root level access as a normal user

  • Under MATE : in MATE 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 to change your identity to root.
    However, it's recommended to configure and use sudo or doas 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.

CategoryRoot | CategorySystemSecurity | CategorySystemAdministration