pwd module vs Linux shadow passwords
Siggy Brentrup
bsb at winnegan.de
Mon Apr 2 16:14:56 EDT 2001
"John W. Baxter" <jwbaxter at olympus.net> writes:
> Using Python 1.5.2 (and earlier) on BSDi, the pwd module's getpw...
> functions are able to retrieve the encrypted password (from
> /etc/master.passwd) if run as root.
>
> Using Python 1.5.2 and 2.1b1 on Linux (RH 6.2), the functions do not
> similarly dig the encrypted password out of /etc/shadow.
>
> Is the latter action intentional, or is something not being set up
It's the main point of shadow passwords, cf.
http://www.linuxworld.com/linuxworld/lw-2000-07/lw-07-shadowpasswords.html
Thanks
Siggy
--
Siggy Brentrup - bsb at winnegan.de - http://www.winnegan.de/
****** ceterum censeo javascriptum esse restrictam *******
More information about the Python-list
mailing list