Re: RH 6.2 useradd

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

 



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





[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