Ask Your Question

New root password not stored after passwd change, F20

asked 2014-09-03 16:35:36 -0500

climberchris gravatar image

updated 2014-09-28 15:40:57 -0500

mether gravatar image

I am using Fedora 20, which came installed with my machine. I have access to root privileges via the command line and sudo, which allows me to use my own user's password. However, my root password itself is not working.

I have recently moved offices and would like to use the system configuration window to, for example, set up the network printer and do other such things which are much easier via the GUI than from the command line via sudo. These tasks require "Authentication" via the root password. At some point it seems that my root password has stopped being recognised. At first I thought I'd just forgotten it, but I no longer think that is the issue.

I have used the steps outlined in eg to reset the root password, as well using the more straightforward command line version "sudo passwd" (since I know my own password, sudo works fine in general). Both these appear to work and passwd tells me that the password has been changed. However, when I try to log in as root (even using the KDE safe option, rather than GNOME, in case the graphical interface is a problem?) or try to "Authenticate" in the system configuration window I get the message "Sorry, that didn't work. Please try again."

From other posts online I wonder if there is some read-only setting somewhere that could be the issue, but I would strongly prefer not to break something by experimenting with configuration files that cannot be unbroken.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-09-03 18:59:30 -0500

lsatenstein gravatar image

You need to be root to change the root password. Easiest way is to do the following: terminal mode sudo su respond with existing password

at the prompt

passwd [enter] newpwd here

there will be a repeat request reenter new passwd enter exit

the password has been changed

edit flag offensive delete link more


Thanks for your reply! The problem is not being root to change the root password, which I understand. The problem is that when I try to "Authenticate" some system configuration after changing the password, like for example Settings > Printers > Unlock, then the new root password is not recognised. Note that I tried your method, which successfully changes the password (output of passwd "passwd: all authentication tokens updated successfully."), but this does not solve with the original problem (after following your suggestion I tired to unlock the printer dialog, but it does not help).

climberchris gravatar imageclimberchris ( 2014-09-04 10:27:56 -0500 )edit

Question Tools


Asked: 2014-09-03 16:35:36 -0500

Seen: 681 times

Last updated: Sep 03 '14