+---------- On Apr 26, Janine Sisk said:
> How are we supposed to generate the password for modules/nsperm/passwd?  I
> tried using crypt and I tried making a user via adduser and copying their
> password out of /etc/shadow, but neither worked.  Older users copied from an
> old users.dat file do work, so I know it's a password-encrypting issue and
> not a configuration issue.

The ns_crypt command will do it, but I usually use this perl script:

    #!/usr/bin/perl
    # $Id: crypt,v 1.1 1999/11/29 06:29:01 mayoff Exp $

    $password = shift;
    $salt = shift;

    print crypt($password, $salt), "\n";

Run "man 3 crypt" for an explanation of the crypt function.

Reply via email to