On 02/26/2011 06:57 PM, Darrell Anderson wrote:
Thanks for the response.
I'm using Slackware. Slackware does not restrict root access like Ubuntu.
Some time ago I filed bug reports 393 and 394 to address the issues.
Darrell
Darrell,
If this is your box (and not one at work), you might try a /etc/pam.d/su fix
that allows members of the wheel group (normal sudo group) to use su without
having to enter a password. I find it very useful. After adding yourself to the
wheel group (either 'groupmod -A user wheel' or gpasswd -a user wheel'
depending
on the distro), then in /etc/pam.d/su, (add or uncomment) the following:
auth sufficient pam_wheel.so trust use_uid
auth required pam_wheel.so use_uid
If you have public/private key access setup to a box and you want to be able
to run remote X apps as root (kate/kwrite for remote config) you can also add
the following to pam.d/su:
session optional pam_xauth.so
There was also an old hack to use sudo instead of su for KDE admin access (it
worked fine as well). In Trinity from the command line in konsole/xterm or in
alt+f2, just enter the following:
kwriteconfig --file kdesurc --group super-user-command --key super-user-command sudo
That simply creates an entry in ~/.kde3/share/config/kdesurc containing the
following:
[Passwords]
Keep=true
[super-user-command]
super-user-command=sudo
If kdesu isn't working then give that a try. If it works - great, if it
doesn't, then just delete kdesurc :p
--
David C. Rankin, J.D.,P.E.