Jeffrey Barish wrote:
Nice.  One thing: how do I get the uid and gid for the target user?  In
general, I know the name of the target user, but the uid/gid assigned by
the OS to that user could be different on different systems.

pwd.getpwnam
grp.getgrnam

--irmen
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to