Re: [opensuse] root password lost in kde
Excuse me Brian and list, I just realized that I mailed you personally instead of sending this message to the list. Please, accept my sincere apologies and forgive me Paul On Friday 26 January 2007 13:08, you wrote:
On Thursday 25 January 2007 22:27, you wrote:
On Thursday 25 January 2007 13:19, Paul Ollion wrote:
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
YOU, paulus is NOT in the /etc/sudoers file.
As root do a 'visudo' and add this line
paulus ALL = (All) ALL
Then save the file. Now, when you (paulus) runs 'sudo [whatever command]', when it prompts you for a passwd, enter YOUR password.
Thanks Brian
I did that but it does not work The dialog box says
Dialog with su not authorized
And I get the following error message :
Jan 26 12:58:29 atelier sudo: paulus : user NOT authorized on host ; TTY=pts/4 ; PWD=/home/paulus ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
There still must be something wrong. But is this sudo system absolutely necessary, Is not it possible to use the old manner I used in 9.3 where I had just to enter the root password in the dialog box ? Thanks anyway
-- 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 my system anyway, when kdesu calls yast2 say from the system menu I have to give roots password, not my user password. I would check to see if the caps lock key is on or off, depending on what you used for a password, they are case sensitive. Btw, my systems, 6 in total, are stock installs of opensuse 10.2 with all the latest updates. John -- Registered Linux User 263680, get counted at http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 27 January 2007 17:20, John Pierce wrote:
On my system anyway, when kdesu calls yast2 say from the system menu I have to give roots password, not my user password. I would check to see if the caps lock key is on or off, depending on what you used for a password, they are case sensitive.
Btw, my systems, 6 in total, are stock installs of opensuse 10.2 with all the latest updates.
Well, John, what you say is interesting, I had to rewrite part of my /etc/sudoers file . Several lines of comments and two important lines had disappeared, I cannot understand how. My laptop with a stock install of 10.2 without any upgrade had not this problem and I copied its sudoers file on my other machine and now everything works fine with the root password, as on your systems. In fact your sudoers file must cantain something like that Defaults targetpw ALL All=(ALL) ALL root. ALL ALL=(ALL) ALL That is what I had to write in it to restore things -- 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
Defaults targetpw ALL All=(ALL) ALL
root. ALL ALL=(ALL) ALL
That is what I had to write in it to restore things That is interesting, only in the last 2 years have I added any users to the sudoers file, that was on a couple of Fedora machines. Usually I just open a shell and su - to root, have been doing that for about the last 8 years. Just recently, last year perhaps, I have started to launch applets from the kde menu, and I did not realize that it was tied to the sudoers file.
Nice info. John -- Registered Linux User 263680, get counted at http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
John Pierce
-
Paul Ollion