Differences between revisions 1 and 37 (spanning 36 versions)
Revision 1 as of 2007-12-31 15:21:36
Size: 1492
Comment:
Revision 37 as of 2022-01-13 13:57:53
Size: 2422
Editor: ThiagoPezzo
Comment: make translation header easy to include in translations
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
##
## hints for wiki contributors about Root:
## - write hints/guidelines here.
##
## Remember, it's important (for search engines) that title actually
## contains words relevant to the page content. ("introduction" don't help)
##
||<tablestyle="width: 100%;" style="border: 0px hidden">~-Translation(s): none / [:German/Root:Deutsch] - [:French/Root:Français]-~||<style="text-align: right;border: 0px hidden"> (!) [:/Discussion:Discussion]||
##For Translators - to have a constantly up to date translation header in you page, you can just add a line like the following (with the comment's character at the start of the line removed)
##<<Include(Root, ,from="^##TAG:TRANSLATION-HEADER-START",to="^##TAG:TRANSLATION-HEADER-END")>>
##TAG:TRANSLATION-HEADER-START
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: [[ar/Root|العربية]] - [[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|简体中文]]-~
##TAG:TRANSLATION-HEADER-END
Line 11: Line 8:
Explanations about the {{{root}}} account. '''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 13: Line 10:
## If your page gets really long, uncomment this Table of Contents
[[TableOfContents(2)]]
{{{root}}} has [[WikiPedia:User_identifier|uid]] 0 and [[WikiPedia:Group_identifier|gid]] 0.
Line 16: Line 12:
= What is root? = <<TableOfContents>>
Line 18: Line 14:
{{{Root}}} is the name of the most powerful account on a Debian installation. This user account can do everything on the machine. It's also known as supervisor, administrator. == Password ==
At installation time, you are asked whether you want to use the root account or not.
Line 20: Line 17:
It has uid 0 and gid 0.  * 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 [[https://www.debian.org/doc/manuals/debian-reference/ch04.en.html#_securing_the_root_password|reset the password]], then log as root (now accessible without password) and run {{{passwd}}} to set a new password.
Line 22: Line 21:
= Password =

At installation time, you are been asked for creation or not of the root account.
 * if you want so ''(the default)'', you'll be asked to provide a 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.

== 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 [[http://www.debian.org/doc/manuals/reference/ch01.en.html#_the_root_shell_prompt|Login to a shell prompt as root]]
 * In a terminal : you can use [[DebianMan:1/su|su]] to change your identity to root. <<BR>> However, it's recommended to configure and use [[sudo]] or [[Doas|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#}}} .<<BR>>
To find out as which user you're operating now, execute the command {{{whoami}}}.
Line 31: Line 29:
## You can add other helpful links
See also:
 * [http://www.debian.org/doc/manuals/reference/ch-tutorial.en.html#s-login-root Login to a shell prompt as root]
 * [http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-crackroot "I forgot the root password!"]
Line 36: Line 30:

##CategorySomething | CategoryAnother
CategoryRoot | CategorySystemSecurity | CategorySystemAdministration

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.

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 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