Constat ca sunt cam NEWBIE la capitolul asta.
<cut>
[stats@trinity scripts]$ ls -l kkmk
-rwsr-xr-x 1 root root 67 Sep 23 17:59 kkmk
[stats@trinity scripts]$ cat kkmk
#!/bin/bash
# debug: let's see if we have root access
ls -l /root
[stats@trinity scripts]$ ./kkmk
ls: /root: Permission denied
[stats@trinity scripts]$
</cut>
Deci... eu vreau sa fac un script setuid-at root care sa execute (in final)
ceva de genul `iptables -t filter -L acc_in -n -v -x`. Adica vreau sa extrag
numerele pentru mrtg folosind un user fara privilegii deosebite.
Am nevoie de asta pentru ca scriptul il voi rula via ssh de pe un alt
computer; nu vreau sa permit ssh ca root.
Da' uite ca nu-mi merge.
Any hints?
Mihai
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.