changeing users on linux

Mike Meyer mwm at mired.org
Sat Nov 12 12:27:17 EST 2005


darkchild50 at gmail.com 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 <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list