[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: %post commands ignored



>>>>> "rday" == rpjday  <rpjday mindspring com> writes:

    rday> [snip]

    rday> p.s.  i noticed you were running useradd to add a user
    rday> account.  you've probably noticed that you can't log in to
    rday> that account once the machine comes back up until you adjust
    rday> the password.

    rday> consider putting the command

    rday> passwd -d <username>

    rday> as part of %post, as long as you remember to eventually give
    rday> yourself a password.

...and if you happen to dislike blank passwords (as I do), you can:

echo "user:clear-text-password" | chpasswd

Even a predictable passwords is better than none IMO.

Regards,

-- Raju
-- 
Raju Mathur          raju kandalaya org           http://kandalaya.org/
                     It is the mind that moves





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]