"Have you recently installed openSUSE 11.0 and added:
username ALL=(ALL) NOPASSWD: ALL
Into your /etc/sudoers files, only to find out now when you launch yast it still prompts for a password?"
Ben Kevan’s Blog > Default kdesu to use sudo and not su
![]()
Newcomer
"Have you recently installed openSUSE 11.0 and added:
username ALL=(ALL) NOPASSWD: ALL
Into your /etc/sudoers files, only to find out now when you launch yast it still prompts for a password?"
Ben Kevan’s Blog > Default kdesu to use sudo and not su
![]()
Thanks, I'll give it a go. This one was bugging the life out of me.
Didn't work for me, still get the dreaded kdesu when running Yast2.
I couldn't read or copy the command from the blog so here it is and it's working great in KDE3.Code:kwriteconfig --file kdesurc --group super-user-command --key super-user-command sudo
ra100 wrote:
>
> "Have you recently installed openSUSE 11.0 and added:
> username ALL=(ALL) NOPASSWD: ALL
> Into your /etc/sudoers files, only to find out now when you launch yast
> it still prompts for a password?"
>
> 'Ben Kevan’s Blog > Default kdesu to use sudo and not su'
> (http://www.benkevan.com/blog/default...do-and-not-su/)
>
>
>
Did some research, discovered I have TWO versions of kwriteconfig (and
others!) installed, one for kde3, another for kde4. imagine it's because
I'm running 3.5.9, but with some 4.x apps, so I get both runtimes.
This can cause issues, because the two programs use slightly different syntax,
the KDE4 kwriteconfig app uses single dash '-' for options while the KDE3
version uses double-dash '--'. grrr!
Better solution is to actually create the file entry that command is
*supposed* to be doing.
look in .kde/share/config and .kde4/share/config for a file named 'kdesurc'.
If it doesn't exist, create a new file named 'kdesurc'.
Add these two lines to the file:
[super-user-command]
super-user-command=sudo
I did both .kde and .kde4 to make sure I catch whichever kdesu is called (v3
or v4).
This has worked for me, on both 32bit and 64bit systems, opensuse 11.0, KDE
3.5.9 installs. Should also fix KDE4.x systems.
Loni
--
L R Nix
lornix@lornix.com
Woohoo!
Thanks lornix, worked a treat![]()
Student Penguin

How much can you know about yourself if you've never been in a fight. - Fight Club
Ben Kevan's Blog - That's me
eclipseagent wrote:
>
> lornix;1835315 Wrote:
>> ra100 wrote:
>>
>> >
>> > "Have you recently installed openSUSE 11.0 and added:
>> > username ALL=(ALL) NOPASSWD: ALL
>> > Into your /etc/sudoers files, only to find out now when you launch
>> yast
>> > it still prompts for a password?"
>> >
>> > 'Ben Kevan’s Blog > Default kdesu to use sudo and not su'
>> > ('Ben Kevan’s Blog > Default kdesu to use sudo and not su'
>> (http://www.benkevan.com/blog/default...do-and-not-su/))
>> >
>> >
>> >
>>
>> Did some research, discovered I have TWO versions of kwriteconfig (and
>> others!) installed, one for kde3, another for kde4. imagine it's
>> because
>> I'm running 3.5.9, but with some 4.x apps, so I get both runtimes.
>>
>> This can cause issues, because the two programs use slightly different
>> syntax,
>> the KDE4 kwriteconfig app uses single dash '-' for options while the
>> KDE3
>> version uses double-dash '--'. grrr!
>>
>> Better solution is to actually create the file entry that command is
>> *supposed* to be doing.
>>
>> look in .kde/share/config and .kde4/share/config for a file named
>> 'kdesurc'.
>>
>> If it doesn't exist, create a new file named 'kdesurc'.
>>
>> Add these two lines to the file:
>>
>> [super-user-command]
>> super-user-command=sudo
>>
>> I did both .kde and .kde4 to make sure I catch whichever kdesu is
>> called (v3
>> or v4).
>>
>> This has worked for me, on both 32bit and 64bit systems, opensuse 11.0,
>> KDE
>> 3.5.9 installs. Should also fix KDE4.x systems.
>>
>> Loni
>>
>>
>> --
>> L R Nix
>> lornix@lornix.com
>
> Loni,
>
> I have added the contents of this post to my blog, and gave you
> credit.. thanks for the foot work.
>
>
awww, {blush} you're too kind! Thank you, I'm happy to help.
(although I think I talk too much)
Loni
--
L R Nix
lornix@lornix.com
Bookmarks