Unix administration - setuid right without execution rights

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > March 2005 > setuid right without execution rights





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author setuid right without execution rights
Jeremy

2005-03-08, 7:52 am

Hello,
I saw that you can give setuid rights to a file without execution right.
What's the point of this ?
Michael Vilain

2005-03-08, 5:51 pm

In article <422d7f6d$0$17144$636a15ce@news.free.fr>,
Jeremy <sargon@no-log.org.spamno> wrote:

> Hello,
> I saw that you can give setuid rights to a file without execution right.
> What's the point of this ?


What OS are we talking about? The way you talk about this leads me to
believe you may not come from a UNIX background. On MacOS X, the chmod
man page says

(the set-user-ID-on-execution bit) Executable files with
this bit set will run with effective uid set to the uid of
the file owner. Directories with the set-user-id bit set
will force all files and sub-directories created in them to
be owned by the directory owner and not by the uid of the
creating process, if the underlying file system supports
this feature: see chmod(2) and the suiddir option to
mount(8).

What does the man page say on your system?

--
DeeDee, don't press that button! DeeDee! NO! Dee...



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com