I just faced the same issue, and so wrote my own version of the pwd module that returned all the other relevant information in the shadow file. On Mon, Apr 02, 2001 at 12:50:37PM -0700, John W. Baxter wrote: > 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. -- Stand Fast, tjg. Timothy Grant tjg at exceptionalminds.com Chief Technology Officer www.exceptionalminds.com HyperLINq Technologies, Inc. <>< (503) 246-3630 >>>>>>>>>>>>>Linux, because rebooting is *NOT* normal<<<<<<<<< >>>>This machine was last rebooted: 6 days 22:53 hours ago<<
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4