verify a user

2006-01-18 Thread David Bear
If I have a unix user name, is there a way to verify that the user really exists and query default group memberships? -- David Bear -- let me buy your intellectual property, I want to own your thoughts -- -- http://mail.python.org/mailman/listinfo/python-list

Re: verify a user

2006-01-18 Thread Dan Sommers
On Wed, 18 Jan 2006 18:25:19 -0700, David Bear [EMAIL PROTECTED] wrote: If I have a unix user name, is there a way to verify that the user really exists and query default group memberships? import pwd unix_user_name = raw_input( 'enter a user name:' ) try: print pwd.getpwnam