adding users

Mark Haney mhaney at ercbroadband.org
Wed Jun 28 11:01:04 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Les Mikesell wrote:
> On Tue, 2006-06-27 at 15:41 -0400, Mark Haney wrote:
>>> useradd -u 515 -g 100 -c "The Name of the User" -d /home/directory 
>>> UserAccountName
>>>
>>> where -u is the user's unique id
>>>             -g is the group to which he/she will belong
>>>
>>> You just have to create the passwd for the user after this.
>>>
>>> I do a "tail" on /etc/passwd so I can determine the next "-u" number to
>>> use.
>>>
>>>
>> This doesn't work either, I get the same hang as I do without the option.
> 
> Try running 'pwck' to see what is wrong with your passwd/shadow/group
> files.
> 

The only thing it came up with is a handful of users that have home
directories that don't exist.  One of the machines that adduser works
correctly on is similar in output.


- --
Fere libenter homines id quod volunt credunt.

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEomFwYQhnfRtc0AIRAvh1AKDsiinMu60F5Fp78QVkKjxTYkhIpACg74kc
jfPIHUNJC+X3+theM3wFq2M=
=K0cl
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list