Hi,
first I'd like to say that I'm a LinuxMint newbie. I've been using Gentoo Linux for about 15 years now.
I've installed LM16 KDE edition (32bit) for a friend of mine as a replacement OS for his Windows Vista. Installation finished fine and as far as I can see everything works fine for *him*.
But there's one thing that's not fine for *me*:
Some items in KDE's app launcher menu require root access and they call "kdesudo" for that. By default the default user can "sudo" by entering his password. But I don't want him to get access to those items. So removed him from the "sudo" group.
Now his password isn't accepted and he can't run "dangerous" tools.
But: whenever *I* want to run those tools (btw: it's a single user account) when he's logged in, I can't do so. So I tried to set those items to "run as a different user", but that doesn't work because "kdesudo" gets always called.
I've already searched and found the kalternatives hint.
Now kdesu pops up and tells me to login as "root" but after pressing "OK" the password dialog doesn't disappear, it stays there forever and can't be closed.
If don't use "root" but a newly created user it works.
So, what's special in LinuxMint if I want to do it with the root user?
Is there anybody out there who has that working?
Many thanks in advance!
Best regards,
Andreas
kdesudo / kdesu problem
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
kdesudo / kdesu problem
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: kdesudo / kdesu problem
That's a rather old topic; might not work anymore. Why not just create a second user account, one member of the sudo group, and you switch to that when you need to do something requiring sudo?
Re: kdesudo / kdesu problem
Hi!
But I really wonder why this works in Gentoo Linux but not in LinuxMint. Both of them use the same KDE release...
Best regards,
Andreas
Sure, I can do that.xenopeek wrote:That's a rather old topic; might not work anymore. Why not just create a second user account, one member of the sudo group, and you switch to that when you need to do something requiring sudo?
But I really wonder why this works in Gentoo Linux but not in LinuxMint. Both of them use the same KDE release...
Best regards,
Andreas
Re: kdesudo / kdesu problem
Hello,
after more Google searches I found this one: http://www.freetechie.com/blog/default- ... nd-not-su/
It says to edit ~/.kde/share/config/kdesurc and add:
After that (and the kalternatives hint) I can set the "run as" setting in the menu editor and everything works as expected. Only "mintupdate" doesn't work, it asks for root's password but never pops up.
Maybe this helps somebody...
Best regards,
Andreas
after more Google searches I found this one: http://www.freetechie.com/blog/default- ... nd-not-su/
It says to edit ~/.kde/share/config/kdesurc and add:
Code: Select all
[super-user-command]
super-user-command=sudo
Maybe this helps somebody...
Best regards,
Andreas