Idan Sofer wrote:

> --- guy keren <[EMAIL PROTECTED]> wrote:
> 
>>> as a regular user? (Without using suid root)
>> 
>> modify the kernel to allow that. as far as i know,
>> the kernel won't allow
>> a regular user to set an ethernet card to promicious
> 
> Just an idea i have for quite a time..
> 
> It is probably possible to write a "root deamon", that
> will preform
> predefined, root only actions, with or without a
> password.

there is a sudo package, which allows you to perform predefined, root only
actions.

Writing a daemon is dangerous, since you will have to give some way to 
process-daemon
communications, and in that way, (since that channel should be opened 
for any process which
has to do those predefined actions) it is quite possible to forge the 
daemon to give you a root privs...

> 
> Idan
> 
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to