On Wed, 7 Mar 2001, George CARAGEA wrote:

>   Am facut si setuid(0). Problema mea se pare totusi ca e alta. Nu pot sa
> lansez executabilul.

ciudat ciudat .. intr-adevar fara sa dai setuid(0) .. n-ar merge
insa cu setuid (presupun inainte de execl()) trebuie sa mearga .. mie imi
merge

poate ai partitia aia mountata cu optiunea nosuid ;)


> >ls -lsa
> total 14
>    2 drwxr-xr-x   2 caragege users        2048 Mar  7 13:24 ./
>    2 drwxr-xr-x   6 caragege users        2048 Mar  7 12:30 ../
>    6 -rwsr-xr-x   1 root     root         5296 Mar  7 13:23 setperm*
>    2 -rw-r--r--   1 caragege users         405 Mar  7 13:23 setperm.cpp
>    2 -rw-r--r--   1 caragege users         394 Mar  7 12:43 setperm.cpp~
>    0 -rw-r--r--   1 caragege users           0 Mar  7 13:24 unu
> 
> > ./setperm
> bash: ./setperm: Operation not permitted
> 
>   De ce?
> 
>   George Caragea   - [EMAIL PROTECTED]
>   NetAdmin for The Numerical Methods Lab - lmn.pub.ro
>   Visit http://www.bigfoot.com/~georgecaragea for more information! 
> 
> 
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
> unsubscribe from this list.
> 

-----
some day i'll make a real .signature ...


---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui