Nspasswd

From AOLserver Wiki
Jump to navigation Jump to search

nspasswd does not exist nowadays.

nsperm doesn't speak md5 hashed passwords, only unix crypt. If you need to crypt a password, try this Perl script one-liner:

$ perl -le 'print crypt("password", "..");'
..UZoIyj/Hy/c

Replace "password" with the password you want to encrypt (up to 8 characters -- anything more gets truncated silently anyway). The output from the script ("..UZoIyj/Hy/c") is the crypted password that you can cut and paste into your passwd file.