[opensuse] root password lost in kde
Hello list I have a problem with kde on my new SuSE 10.2. It worked during the first days after install, and this curious behaviour appeared after an upgrade : whenever I try to launch yast2, or the file manager in superuser mode I give the root password and get a message saying it is a wrong password. It must be a kde problem : I can open a console, su to root and launch these services manually. The root password is good. Here is one the messages I get after each failure atelier : Jan 25 12:00:09 : paulus : user NOT in sudoers ; TTY=pts/3 ; PWD=/home/paulus ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub - I searched the archives and found an old trick from Sept 12 2004. message id :<200409122304.41133 It said go to the console, log in as root, run init 3, remove the directory /var/tmp/kdecache-root and rename the /root/kde folder, then run init 5 and log in normally. I just renamed these directories, but it does not work. Could anyone enlighten me ? -- Paul Ollion Proud Linux user SuSE 10.2 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 25 January 2007 11:33, Paul Ollion wrote:
atelier : Jan 25 12:00:09 : paulus : user NOT in sudoers ; TTY=pts/3 ; PWD=/home/paulus ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
What does your /etc/sudoers file look like? Are you in it? That seems to be the issue. Also, you do know that you give YOUR password when running commands with sudo. good luck, brian -- Brian Jackson Photo Sports ~ People ~ Events http://www.BrianJacksonPhoto.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 25 January 2007 20:31, Brian Jackson wrote:
On Thursday 25 January 2007 11:33, Paul Ollion wrote:
atelier : Jan 25 12:00:09 : paulus : user NOT in sudoers ; TTY=pts/3 ; PWD=/home/paulus ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
What does your /etc/sudoers file look like? Are you in it? That seems to be the issue.
Thanks Brian for answering so fast Here is the content of /etc/sudoers Defaults always_set_home Defaults env_reset # Runas alias specification # User privilege specification root ALL = (All) NOPASSWD: ALL
Also, you do know that you give YOUR password when running commands with sudo.
Yes that is what I understood, but it does not work either. Perhaps I should empty the sudo thing in yast. I tried some tweaking in it but it was no good. my previous SuSE was the 9.3 and there has been a lot of changes since. -- Paul Ollion Proud Linux user SuSE 10.2 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2007-01-25 at 20:33 +0100, Paul Ollion wrote:
Hello list I have a problem with kde on my new SuSE 10.2. It worked during the first days after install, and this curious behaviour appeared after an upgrade : whenever I try to launch yast2, or the file manager in superuser mode I give the root password and get a message saying it is a wrong password.
It must be a kde problem : I can open a console, su to root and launch these services manually. The root password is good. Here is one the messages I get after each failure
atelier : Jan 25 12:00:09 : paulus : user NOT in sudoers ; TTY=pts/3 ; PWD=/home/paulus ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
I searched the archives and found an old trick from Sept 12 2004. message id :<200409122304.41133 It said go to the console, log in as root, run init 3, remove the directory /var/tmp/kdecache-root and rename the /root/kde folder, then run init 5 and log in normally. I just renamed these directories, but it does not work. Could anyone enlighten me ? -- Paul Ollion Proud Linux user SuSE 10.2
Looks like your sudoers file is corrupted. This happened to me after installing SMB4K on a PC. You will need to use visudo to fix it. In my case the commented sections got uncommented. HTH James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 26 January 2007 02:36, James P. Bland wrote:
On Thu, 2007-01-25 at 20:33 +0100, Paul Ollion wrote:
Hello list I have a problem with kde on my new SuSE 10.2. It worked during the first days after install, and this curious behaviour appeared after an upgrade : whenever I try to launch yast2, or the file manager in superuser mode I give the root password and get a message saying it is a wrong password.
It must be a kde problem : I can open a console, su to root and launch these services manually. The root password is good. Here is one the messages I get after each failure
atelier : Jan 25 12:00:09 : paulus : user NOT in sudoers ; TTY=pts/3 ; PWD=/home/paulus ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
Looks like your sudoers file is corrupted. This happened to me after installing SMB4K on a PC. You will need to use visudo to fix it. In my case the commented sections got uncommented.
Thanks, James, I could find a way of restoring things by copying the sudoer file of another machine, see my previous message, and now it works as well as before the update. In fact several lines had disappeared from the sudo file. -- Paul Ollion Proud Linux user SuSE 10.2 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Brian Jackson
-
James P. Bland
-
Paul Ollion