On Mon, 2003-08-04 at 15:26, zze-Support activite PCL RAMSI A ext
> this script is created by the root, and have 4755 as chmod.
The 4 is +s (set UID), but this isn't allowed on scripts, because
there's some kind of race condition associated with having setuid
scripts on Unix. Don't remember what the problem was, but just look for
the term setuid script, and you'l soon find out.
Workaround: Write a compiled (a C program), which is setuid, and calls
ifconfig for you. This works, and this is what programs like mailman,
etc. do to get around this limitation of each and every Unix kernel.
|All times are GMT. The time now is 05:54 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.