Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ksu and Operation not permitted

386 views
Skip to first unread message

Kevin Adams

unread,
Jun 5, 2001, 4:46:36 PM6/5/01
to
Hi, I have krb5 1.2.2-5 sort of working on a RH 7.0 system.

Everything works except ksu. Ksu works from root (of course) but not from a
normal id.

$ ksu root
ksu: Operation not permitted while selecting the best principal

$ ksu root -n principal
ksu: Operation not permitted while copying cache /tmp/krb5cc_212 to
FILE:/tmp/krb5cc_0.1

An ideas? Telnet, rsh, ftp and rcp all work, but not ksu.

Kevin Adams

Mayers, Philip J

unread,
Jun 6, 2001, 5:21:08 AM6/6/01
to
chmod u+s /usr/kerberos/bin/ksu

i.e. ksu isn't setuid root, so of course doesn't work.

This is *INCREDIBLY* annoying - EVERY SINGLE ONE of RedHat's kerberos
updates puts the ksu back to 755 permissions, and you lose the ability to
ksu *every* time you update the kerberos RPM.

Regards,
Phil

+----------------------------------+
| Phil Mayers, Network Support |
| Centre for Computing Services |
| Imperial College |
+----------------------------------+

Sam Hartman

unread,
Jun 9, 2001, 8:49:48 PM6/9/01
to
I assume that ksu is installed setuid root? If not, it won't work.

0 new messages