On 12/12/13 17:13, Paolo Supino wrote:
print "password hash: " + crypt.crypt("password")When I try to do su - [user] (after copying the hash into /etc/shadow) the password accepted is 'password'
You are passing the literal string password to the crypt() call. I suspect that has something to do with it. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.flickr.com/photos/alangauldphotos _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
