>
> printf("\nSetting permissions for directory %s.\n",dirStr);
>
> execl("/bin/chown","/bin/chown","-R","cvs.cvs",dirStr,NULL);
> }
>
> Am suidat executabilul si l-am facut root.root, dar nu merge, tot da
> niste permission denied, deci banuiesc ca nu pastreaza suidul.
cred ca trebuie sa faci setuid(0); inainte sa faci exec().
> Am facut un script suidat, dar nu merge ( lanseaza bash nesuidat,
> right?)
mi se pare corect...
--
Stefan Laudat
CCNA & CCAI
-------------
A candidate is a person who gets money from the rich and votes from the
poor to protect them from each other.
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.