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

25 lines
883 B
Text
Raw Normal View History

2017-12-14 04:31:54 +00:00
[id=”procedure-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:
+
----
# 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.