[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Kickstart User Creation
- From: John <red computerdatasafe com au>
- To: "'kickstart-list redhat com'" <kickstart-list redhat com>
- Subject: Re: Kickstart User Creation
- Date: Mon, 28 Apr 2003 16:10:27 +0800 (WST)
On Mon, 28 Apr 2003, Gareth Bromley wrote:
> On Sun, 27 Apr 2003, Robert Denton wrote:
> > useradd -G root -p menace phantom
> > To create a user by the name of phantom with a the password menace. This
> > didn't work and after a review of the man page associated with useradd, it
> > would seem that if you are going to include the password in this command you
> > need to supply it in an encrypted form (with crypt(3)) and I am not quite
> > certain how to do that. I also considered going the other route:
> > useradd -G root phantom
> > passwd phantom
> > But that requires further interaction and this doesn't seem to be possible
> > in a kickstart post installation script. Has anyone tried this at all? I
> > would appreciate any advice regarding the best way to do this.
> The best way is to make use of the usermod and associated tools.
>
> e.g.
> /usr/sbin/useradd myuser
> chfn -f 'A User' myuser
> /usr/sbin/usermod -p '$1$CrackThisOnePlease!!' myuser
That requires an encrypted password, just the problem Robert wants to
overcome.
--
Please, reply only to the list.
Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]