RE: RH 6.2 useradd

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

 



Thanks Ajay, and to all that responded. This was the only one that worked
for me.

> useradd -u 501 -g 100 -d /home/luser -s /bin/tcsh -c "Local User" -m luser
> echo luserpw | passwd --stdin luser

Thanks again.

Colby Voorhees
Operations Engineer
Atlantes


-----Original Message-----
From: kickstart-list-admin@xxxxxxxxxx
[mailto:kickstart-list-admin@xxxxxxxxxx]On Behalf Of Ajay Shekhawat
Sent: Wednesday, December 13, 2000 7:55 PM
To: kickstart-list@xxxxxxxxxx
Subject: Re: RH 6.2 useradd


On Wed, Dec 13, 2000 at 02:37:29PM -0800, Colby Voorhees wrote:
> I'm trying to add two users in the %post section. The installation creates
> the
> users and home directories, but they can't log in immediately after
reboot.
> Below is the switches I've used to no avail.
>
> useradd -d /home/user -s /bin/tcsh -u 1001 -g 1 -p userpw
>
> useradd -p `perl -e 'print crypt("userpw", "Xd");'` -d /home/user -s
> /bin/tcsh -u 1001 -g 1
>
> Anyone have a line for Redhat 6.2, to add users that can log in other than
> root?
> I wasn't able to find anything in the archives or Manual that work.

I've used the following in the past:

useradd -u 501 -g 100 -d /home/luser -s /bin/tcsh -c "Local User" -m luser
echo luserpw | passwd --stdin luser


Ajay



_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list





[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