Set pre-encrypted passwords for users

Thomas Lange lange at informatik.uni-koeln.de
Wed Mar 31 14:01:13 CEST 2010


>>>>> On Wed, 31 Mar 2010 08:38:55 +0100, Joel Merrick <joel.merrick at gmail.com> said:

    >> I use some old scripts to create users on a FAI-install system. In them
    >> I run the 30-demo script from simple examples:
    >> 
    >> $ROOTCMD adduser --disabled-login --gecos "fai demo user" demo

    >> Since Ubuntu 9.10 the chpasswd command does not accept the --encrypted
Since version 3.3 FAI uses usermod instead of chpasswd.
Example:

$ROOTCMD usermod -p $FAI_ROOTPW root

-- 
regards Thomas


More information about the linux-fai mailing list