[EMAIL PROTECTED] writes:

> the password is for loging into root

The setuid call will fail unless you're already root. You can't, as
some user other than root, change your userid, so the answer to
the original question with the added restriction is "You can't".

     <mike
-- 
Mike Meyer <[EMAIL PROTECTED]>                  http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to