RE: %post commands ignored

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

 



>>>>> "rday" == rpjday  <rpjday@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxx           http://kandalaya.org/
                     It is the mind that moves





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux