On 07/04/10 10:47, kanenas@hawaii.rr.com wrote:
On Tuesday 06 April 2010 06:45:52 am kanenas@hawaii.rr.com wrote:
On Monday 05 April 2010 10:05:53 am kanenas@hawaii.rr.com wrote:
Used yast to give root privilege to a standard user. At first tried specific commands only, then gave the ALL commands privilege. no joy. Tried visudo from command line, same result. tried other editors, same result.
Even when given root privilege for all commands, user "plain" can not run *any* root commands.
the lines in the yast2 sudo window read:
ALL ALL (ALL) No ALL root ALL (ALL) No ALL plain ALL (ALL) Yes ALL
the sudoers file reads: ......................
<clip> # User privilege specification root ALL = (ALL) ALL plain ALL = (ALL) NOPASSWD: ALL ..<clip>............................................................
The system is 11.1, 64 bit, kde-3, kernel 2.6.27.45-0.1-default latest updates from the standard Suse depositories, nothing factory or unstable.
how to fix?
bump :)
ok, one more effort to solicit a response. i have a simple alsasound restart && unmute script that is needed whenever flashplayer forgets to release the soundcard. The script works from root and under sudo but i need it to work from a simple user desktop. I am going away for a while and there is no need for the misses to worry about root pwds, at most she should have to click on an icon. googling for a solution only brings up discussions why one should not give a plain user any root privilege, also there are posts about using visudo to modify the sudoers file. These things i have done, also did it in yast, now help is needed in troubleshooting. What else must be done in 11.1? thanks in advance, d.
It looks like you left the Defaults targetpw line uncommented. As it clearly says in the sudoers file, the following two lines must be commented out for real use: # In the default (unconfigured) configuration, sudo asks for the root password. # This allows use of an ordinary user account for administration of a freshly # installed system. When configuring sudo, delete the two # following lines: #Defaults targetpw # ask for the password of the target user i.e. root #ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'! If it still isn't working after that, send the output of "sudo -l" for the user. Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org