[Tutor] Shadow Passwords
Tue Apr 15 11:33:02 2003
On Tue, Apr 15, 2003 at 04:18:47PM +0500, David Rushforth wrote:
> I am trying to create function to create users and passwords for a Linux
> box using shadow passwords. All goes well except that the passwords are
> store in plain text. Is there a modules I can use to encrypt the password.
There is a module called crypt in the standard library. This module
contains a function also called crypt which does exactly what you want.
You can read more about it in the Python library reference and in