Ask Your Question
3

How to change the root password

asked 2014-01-28 02:11:13 -0600

aqualion gravatar image

updated 2014-09-28 15:41:15 -0600

mether gravatar image

How can I change the root password after logging on to the desktop with my account password? Please offer a graphical interface solution. If this cannot be done, is the best option to reinstall the OS?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
5

answered 2014-01-28 04:28:47 -0600

NickTux gravatar image

updated 2014-01-28 15:54:39 -0600

For Ferora 20 / GNOME desktop environment

Fedora provides a graphical tool called system-config-users that allow you to manage users and groups graphically.

You can search for users and groups

or from the activities go to menu to Applications โ†’ Administration โ†’ Users and Groups.

Open it and in normal mode you will not see any system users in the list. To change this go to Edit โ†’ Preferences and UN-tick the "Hide system users and groups"

image description

Then you will see the user root listed. Select the line and click Properties . From there you can change the root password.

image description

Documentation can be found here

edit flag offensive delete link more

Comments

Please reread my question.

aqualion gravatar imageaqualion ( 2014-01-28 11:40:26 -0600 )edit

@aqualion I edited my answer. I hope this answer your question. But please edit your question as well. Be more descriptive. If you ask only about how to change the root password graphically (GUI), write it. Say that you didn't lost the root password and that you don't want a solution through a terminal. (bold it) Also an edit on the tile would be good as well. i.e "How to change the root password via GUI" or "How to change the root password via graphical application" or something similar.

NickTux gravatar imageNickTux ( 2014-01-28 13:19:29 -0600 )edit

You asked how to change the root password from a GUI while logged into your normal account. This answer tells you how to do exactly what you asked for. What more do you want?

sideburns gravatar imagesideburns ( 2014-01-28 14:51:14 -0600 )edit

Thank you for the answer NikTh. That is what I was looking for. I found the correct path to the program, though, to be Applications / Administration / Users and Groups.

aqualion gravatar imageaqualion ( 2014-01-28 15:17:03 -0600 )edit

@sideburns it is OK. I had given a completely different answer before. I edited the answer and replaced with this one.(see the revisions) So the first comment stands accurate ;)

NickTux gravatar imageNickTux ( 2014-01-28 15:52:56 -0600 )edit
2

answered 2014-01-28 02:25:05 -0600

Gileade Oseiass gravatar image

updated 2014-01-28 03:27:19 -0600

FranciscoD_ gravatar image

Open the terminal our console

~]$ su -  (Introduces the current password)

The passwd command is used to change the password of users

~]# passwd

If you lost root password but an administrative sudo account, type:

~]$ sudo passwd root
edit flag offensive delete link more

Comments

Please reread my question

aqualion gravatar imageaqualion ( 2014-01-28 11:39:36 -0600 )edit

To change the root password in the graphical interface not I found, the root account is very protected. But is no need to reinstall the system to change the password. If you need help with the command line we can help.

Gileade Oseiass gravatar imageGileade Oseiass ( 2014-01-28 11:50:15 -0600 )edit
0

answered 2014-01-28 09:17:57 -0600

deusdara gravatar image

Hi

Using any of the Fedora Live Media

Boot the Live installation media
After it finishes booting and starts the live session, open a terminal and switch to root (using su, it won't ask for a password)
Create a directory where you can mount the filesystem of your installation:

mkdir /mnt/sysimage

Mount the filesystem of your installation (/dev/sda1 is just an example, be sure to fill in the actual device node of your installation root / partition):

mount /dev/sda1 /mnt/sysimage

chroot to your installation:

chroot /mnt/sysimage/

Change the root password:

passwd

Exit from the chroot:

exit

That's it, simply reboot your system and then boot the installation from the HDD as usual.

edit flag offensive delete link more

Comments

Please reread my question.

aqualion gravatar imageaqualion ( 2014-01-28 11:40:08 -0600 )edit

Question Tools

Stats

Asked: 2014-01-28 02:11:13 -0600

Seen: 17,895 times

Last updated: Jan 28 '14