Hallo zusammen,
ich habe einen einfach Trick um root binaries aus /sbin und /usr/sbin auch für user zu brauchen.
root@cpq01 sbin]# cd /usr/bin/
[root@cpq01 bin]# ln -s consolehelper pidof
[root@cpq01 bin]# touch /etc/security/console.apps/pidof
[root@cpq01 bin]# cp -p /etc/pam.d/halt /etc/pam.d/pidof
[root@cpq01 bin]#
also in console.apps kann man noch einige Optionen zufügen und das file in pam.d muss natürrlich noch angepasst werden
wie ihr sieht funkt es:
[adme@cpq01 sbin]$ type pidof
pidof is hashed (/usr/bin/pidof)
[adme@cpq01 sbin]$
greetz
adme
Lesezeichen