Mailinglist Archive: opensuse-factory (471 mails)
| < Previous | Next > |
Re: [opensuse-factory] Cannot run programs as root from kde3 or 4 menu
- From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 9 Jun 2009 21:07:10 -0500
- Message-id: <200906092107.11394.drankinatty@xxxxxxxxxxxxxxxxxx>
On Tuesday 09 June 2009 08:43:27 Dave Plater wrote:
Dave,
I have fought this from 2 different directions. See my post (this list)
of
earlier today: Passwordless Access to Apps for Admins: sudo or kdesu for
11.2/kde4.
Check your .kde4/share/config/kdesurc and make sure it doesn't contain
anything other than:
18:01 alchemy:~> cat .kde4/share/config/kdesurc
[Passwords]
Keep=true
If it does, kdesu will behave very strange. With this setting I can
access
yast2, just by clicking on the yast icon and I get the prompt for the
password:
http://www.3111skyline.com/download/openSUSE_bugs/kde4/screenshots/kdesu-yast-
OK.jpeg
However, it is annoying to be constantly prompted for the root password
for
every admin task and there should be some way of configuring kdesu to check
group policies, etc.. so that access is given to those that need it (ME in
particular).
I do use sudo from the command line and I had resisted to temptation to
set
super-user to sudo for kde4 hoping to find a way to make kdesu work, but the
only way I have to giving myself root access to all admin tasks without being
prompted for a password is to use the old kwriteconfig had typed into a
terminal as a normal user that modifies your .kde4/share/config/kdesurc. After
setting up sudo as normal, issuing:
kwriteconfig --file kdesurc --group super-user-command --key super-user-
command sudo
Modifies kdesurc as follows:
20:57 alchemy:~> cat .kde4/share/config/kdesurc
[Passwords]
Keep=true
[super-user-command]
super-user-command=sudo
In this configuration, you get root access to all of your admin tasks
(except
in kde control center where I think the code is still completely missing...) I
don't know what the "right" answer is. Everyone says not to use sudo, but
nobody has fixed kdesu. A rather sticky wicket...
--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
Yast2 software management will not run from kde4 at all. Yast2 control
center starts from a root konsole but I can't start software management
from control center either. The log hangs at:-
2009-06-09 15:36:27 <1> Arbuthnot(4317) [ui] YUI.cc(YUI):62 Creating UI
with threads
Any ideas what to file a bug report against? Yast2 software management
runs under kde3.
Regards
Dave P
Dave,
I have fought this from 2 different directions. See my post (this list)
of
earlier today: Passwordless Access to Apps for Admins: sudo or kdesu for
11.2/kde4.
Check your .kde4/share/config/kdesurc and make sure it doesn't contain
anything other than:
18:01 alchemy:~> cat .kde4/share/config/kdesurc
[Passwords]
Keep=true
If it does, kdesu will behave very strange. With this setting I can
access
yast2, just by clicking on the yast icon and I get the prompt for the
password:
http://www.3111skyline.com/download/openSUSE_bugs/kde4/screenshots/kdesu-yast-
OK.jpeg
However, it is annoying to be constantly prompted for the root password
for
every admin task and there should be some way of configuring kdesu to check
group policies, etc.. so that access is given to those that need it (ME in
particular).
I do use sudo from the command line and I had resisted to temptation to
set
super-user to sudo for kde4 hoping to find a way to make kdesu work, but the
only way I have to giving myself root access to all admin tasks without being
prompted for a password is to use the old kwriteconfig had typed into a
terminal as a normal user that modifies your .kde4/share/config/kdesurc. After
setting up sudo as normal, issuing:
kwriteconfig --file kdesurc --group super-user-command --key super-user-
command sudo
Modifies kdesurc as follows:
20:57 alchemy:~> cat .kde4/share/config/kdesurc
[Passwords]
Keep=true
[super-user-command]
super-user-command=sudo
In this configuration, you get root access to all of your admin tasks
(except
in kde control center where I think the code is still completely missing...) I
don't know what the "right" answer is. Everyone says not to use sudo, but
nobody has fixed kdesu. A rather sticky wicket...
--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |