[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

suid scripts




hello list,

i am quite nervous posting after all this "joe blow" incident...
on the other hand, i don't think that that volunteer firefighter
would travel 20h just to smack my head.
my really strange question:

kripel> cat suid
id
kripel> sudo chmod +s ./suid
kripel> ls -la ./suid
-rwsr-sr-x  1 root  wheel  21 Nov  4 23:17 ./suid
kripel> ./suid
uid=1001(fred) gid=10(users) groups=10(users), 0(wheel)

or for the more "joe blow" types, the suid bit doesn't seem
to be working for me.  the "/" is _not_ mounted as "nosuid".
as you can see i am a "wheel" member.
obviously i am missing something stupid.  make me blush please...

-f

ps. joe blow, please don't get angry, you are the sacrifice on the
    altar of learning for the generations next to come.  forever amen.