pwd behaviour when new users are added

Timothy Grant tjg at exceptionalminds.com
Wed Mar 21 13:26:51 EST 2001


On Wed, Mar 21, 2001 at 03:38:28AM +0000, Jeff Epler wrote:
> On Mon, 19 Mar 2001 12:31:23 -0800, Timothy Grant
> >
> >if I 'reload(pwd)' it still doesn't work if I 'del pwd' and
> >then 'import pwd' it doesn't work.
> >
> >What am I doing wrong?
> 
> Calls to the underlying C library functions don't appear to re-open
> the password file.
> 
Thanks for the confirmation Jeff. As stated, I have written
Python version of all the functions in pwd and they work quite
well, with the added benefit that they return shadow
information as well. If anyone is interested, let me know.

-- 
Stand Fast,
    tjg.

Timothy Grant                         tjg at exceptionalminds.com
Red Hat Certified Engineer            www.exceptionalminds.com
Avalon Technology Group, Inc.         <><       (503) 246-3630
>>>>>>>>>>>>>Linux, because rebooting is *NOT* normal<<<<<<<<<
>>>>This machine was last rebooted:  63 days 22:40 hours ago<<




More information about the Python-list mailing list