root password does not work when using "su" in the shell or installing software as a normal user

asked 2013-03-17 03:32:42 -0500

LinuxBerlin gravatar image

updated 2014-09-28 15:39:58 -0500

mether gravatar image

Hi there,

I am quite fond of Fedora but I am facing the following problem: Whenever I try to use the "su" or "sudo" command in the shell or whenever i try to perform an action which requires admin rights, (like installing software) the system won't accept my root password, but to register as "root" right at the beginning, using the same password, works. That is kind of funny. And is hindering me installing "eclipse" and so on. Please help. Thanks in advance. Josef

edit retag flag offensive close merge delete


Please can you check at the users menu at the system settings if your account belongs to the Administrators Group (it has to be checked).

keramidas gravatar imagekeramidas ( 2013-03-17 05:17:59 -0500 )edit

That only applies to sudo. I'm not in the admin group, but I have no trouble using su, TYVM.

sideburns gravatar imagesideburns ( 2013-03-17 21:00:56 -0500 )edit

Is it possible that you are using different keyboard layouts when you log in and when you are logged in as normal user? If your password has letters, that are on different positions in the different layouts, you unintentionally enter the wrong letters. For example z and y are interchanged in german and english keyboard layout. Type your password in a textprogram, to see, if it displays as expected. — Und auf deutsch: Wahrscheinlich werden verschiedene Tastaturbelegungen verwendet, wenn Du Dich anmeldest (als root) und wenn Du schon als normaler Benutzer angemeldet bist.

erik gravatar imageerik ( 2013-03-18 04:54:20 -0500 )edit

Just a thought: if you're using sudo, use your password, not root's. And, if you're in the admin group, if you're asked for a password in a GUI, it's yours that's expected.

sideburns gravatar imagesideburns ( 2013-03-18 11:10:44 -0500 )edit

Hi there guys, I was offline for a while. But be assured that your answers are very helpful...Thanks a lot! Josef

LinuxBerlin gravatar imageLinuxBerlin ( 2013-05-05 02:32:19 -0500 )edit