Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
uid bit
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
youb42
n00b
n00b


Joined: 28 Feb 2005
Posts: 1

PostPosted: Mon Feb 28, 2005 10:48 am    Post subject: uid bit Reply with quote

Hi,
I need to use this special right on a script shell (which uses htpasswd and usermod).
I tryed to test uidbit with a simple 'touch toto' in my script shell (created with root). When a user executes it, the file toto belongs to the user and not to root.
Do you know if something necessary to make uidbit works? in the kernel options?
Thanks for your your answers! ;-)

Youb
_________________
--
/EPITA\
Back to top
View user's profile Send private message
_never_
Apprentice
Apprentice


Joined: 10 Jun 2004
Posts: 285
Location: BW, Germany

PostPosted: Mon Feb 28, 2005 11:18 am    Post subject: Reply with quote

The SetUID bit does only work with binary programs. It will not work with scripts.
_________________
Knowledge is Power.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum