Slackware does not use PAM. :)
Darrell
--- On Sat, 2/26/11, David C. Rankin <drankinatty(a)suddenlinkmail.com> wrote:
From: David C. Rankin
<drankinatty(a)suddenlinkmail.com>
Subject: Re: [trinity-devel] KDESU
To: trinity-devel(a)lists.pearsoncomputing.net
Date: Saturday, February 26, 2011, 7:14 PM
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-devel-unsubscribe(a)lists.pearsoncomputing.net
For additional commands, e-mail: trinity-devel-help(a)lists.pearsoncomputing.net
Read list messsages on the Web archive:
http://trinity-devel.pearsoncomputing.net/
Please remember not to top-post:
http://trinity.pearsoncomputing.net/mailing_lists/#top-posting