View previous topic :: View next topic |
Author |
Message |
youb42 n00b
Joined: 28 Feb 2005 Posts: 1
|
Posted: Mon Feb 28, 2005 10:48 am Post subject: uid bit |
|
|
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 |
|
|
_never_ Apprentice
Joined: 10 Jun 2004 Posts: 285 Location: BW, Germany
|
Posted: Mon Feb 28, 2005 11:18 am Post subject: |
|
|
The SetUID bit does only work with binary programs. It will not work with scripts. _________________ Knowledge is Power. |
|
Back to top |
|
|
|