Add new file
This commit is contained in:
parent
bb57c01fbb
commit
9d51a9be50
1 changed files with 24 additions and 0 deletions
|
@ -0,0 +1,24 @@
|
|||
[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.
|
Loading…
Add table
Add a link
Reference in a new issue