openSUSE Forums > Applications » kdesu not accepting my root password

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read

Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 13-Jan-2009, 15:56
Student Penguin
 
Join Date: Jun 2008
Location: Boston MA area
Posts: 61
hieronymous hasn't been rated much yet
Default kdesu not accepting my root password

I'm using openSUSE 11.1, with KDE 4.1 and kdesu doesn't accept my root password. Originally I had installed it with the root password being the same as my user, but I have since changed it (as I can login just fine from the command line) and it still doesn't work. For instance, if I select the Yast2 icon from the KDE menu, it prompts me to enter a password but nothing seems to work.

Any ideas? I tried some of the hacks to get it not even ask for my password (ie, using kwriteconfig) but those don't help either. It still asks for the root password and doesn't accept it even if I type it in correctly.
__________________
Daemon Dancing in the Dark
Reply With Quote
  #2 (permalink)  
Old 13-Jan-2009, 18:37
Kevin Miller
Guest
 
Posts: n/a
Default Re: kdesu not accepting my root password

hieronymous wrote:
> I'm using openSUSE 11.1, with KDE 4.1 and kdesu doesn't accept my root
> password. Originally I had installed it with the root password being the
> same as my user, but I have since changed it (as I can login just fine
> from the command line) and it still doesn't work. For instance, if I
> select the Yast2 icon from the KDE menu, it prompts me to enter a
> password but nothing seems to work.
>
> Any ideas? I tried some of the hacks to get it not even ask for my
> password (ie, using kwriteconfig) but those don't help either. It still
> asks for the root password and doesn't accept it even if I type it in
> correctly.
>
>

If you added yourself to sudoers, try entering your own password...

--
Kevin Miller
Juneau, Alaska
http://www.alaska.net/~atftb
Reply With Quote
  #3 (permalink)  
Old 13-Jan-2009, 19:21
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 15
buckmaster60 hasn't been rated much yet
Default Re: kdesu not accepting my root password

This worked for me:
Default kdesu to use sudo and not su | Ben Kevan's Blog
Reply With Quote
  #4 (permalink)  
Old 14-Jan-2009, 12:19
Student Penguin
 
Join Date: Jun 2008
Location: Boston MA area
Posts: 61
hieronymous hasn't been rated much yet
Default Re: kdesu not accepting my root password

Yeah, like I said, I tried that. I don't mind typing in the root password, but KDE just doesn't seem to like anything I type in, even if it is correct
__________________
Daemon Dancing in the Dark
Reply With Quote
  #5 (permalink)  
Old 14-Jan-2009, 16:17
Student Penguin
 
Join Date: Jun 2008
Location: Boston MA area
Posts: 61
hieronymous hasn't been rated much yet
Default Re: kdesu not accepting my root password

really, no one else has this problem? If I type in 'kdesu xterm' it prompts me for my root password, and always fails. But I can su, or sudo and su -l as root with no problem. This is a real problem when it comes to installing software! I can run yast2, but only if I run it from the Super-User xterm!
__________________
Daemon Dancing in the Dark
Reply With Quote
  #6 (permalink)  
Old 05-Feb-2009, 17:47
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 5
NightStorm hasn't been rated much yet
Default Re: kdesu not accepting my root password

I am having it. Any place where I've installed KDE 4.x: the kdesu will not accept a correct root password. I end up having to open a terminal, do an su -, and then run the app. that I want.

This is occuring on a fresh install of openSuSE 11.1 to a Dell laptop, also on an old Sony VAIO laptop on which I installed 11.1, and now on this IBM T60 running openSUSE 11.0 for which I just tried the on-click install of KDE 4.2.

I'm now 3 for 3 systems, so from that perspective I'd think that most people would be seeing this issue.
Reply With Quote
  #7 (permalink)  
Old 05-Feb-2009, 17:51
brucecadieux's Avatar
Busy Penguin
 
Join Date: Jun 2008
Location: Wales, MA
Posts: 284
brucecadieux hasn't been rated much yet
Default Re: kdesu not accepting my root password

Have three systems running here and it works on all three, so I don't think everyone is seeing this problem.

Wish I had an answer for you but I don't.

All I can say is it is working the way it should for me, so you know that it will or should work.
Reply With Quote
  #8 (permalink)  
Old 06-Feb-2009, 08:23
Student Penguin
 
Join Date: Jun 2008
Location: Boston MA area
Posts: 61
hieronymous hasn't been rated much yet
Default Re: kdesu not accepting my root password

The only workaround I saw was to change it so that my user was automatically approved and didn't have to type a password. I really have no idea what is the cause or why it works for some and not others.
__________________
Daemon Dancing in the Dark
Reply With Quote
  #9 (permalink)  
Old 06-Feb-2009, 12:10
Puzzled Penguin
 
Join Date: Nov 2008
Posts: 3
pwnawannab hasn't been rated much yet
Default Re: kdesu not accepting my root password

Got a case here as well. While auto-update running on non-privileged session, kdesu failure is seen; 10.3 with 4.2.
I think un-checking option to remember credentials helped in my case.
Reply With Quote
  #10 (permalink)  
Old 11-Feb-2009, 21:17
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 5
NightStorm hasn't been rated much yet
Default Re: kdesu not accepting my root password

I have found the cause of this (at least for me). It was this line in my ~/.bash_profile:
export BASH_ENV=$HOME/.bashrc

Removed that and I was good-to-go.

If that does not do it for others I suggest trying this experiment:
- login
- cd ~
- mkdir old
- mv .bashrc .bash_profile old/

logout/login

Bring up a konsole and type:
kdesu /sbin/yast2

See if it works for you now. If it does not then I don't have any suggestions for you other then to be sure that you restore your .bashrc and .bash_profile from where they were saved in old/

If it does work then I suggest putting back your .bashrc and .bash_profile files:
cd ~
cp -p old/.??* ~

Then start commenting out sections of each (do a binary search through the file disabling whole portions) until you find the offending section.

- Bruce
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2