quick-docs/en-US/modules/proc_using-same-password-for-root-as-user.adoc

26 lines
893 B
Text
Raw Normal View History

2018-01-03 16:15:39 +00:00
[id='proc_using-same-password-for-root-as-user']
= Using the same password for root as the user account
If you use a single user desktop, you might find it convenient to configure [command]`sudo`, so you can use the same password to access *root* as you use for your regular account. To do this, select to be added to the Administration group during installation. To do it at later stage, or to add a different user, use the following procedure:
. Become the *root* user:
+
----
$ su -
----
+
. Enter the password for the root account when prompted.
. To use your regular password for the root access, run:
+
[subs=quotes]
----
# usermod _USERNAME_ -a -G groupname
----
+
Replace `_USERNAME_` with your account name
. Log off and back on in order to have access to the group.
NOTE: When [command]`sudo` prompts you for a password, it expects your user password, not the `root` password.