adding users

Margaret_Doll Margaret_Doll at brown.edu
Tue Jun 27 19:25:20 UTC 2006


You also use

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.


On Tuesday, June 27, 2006, at 03:13 PM, Mark Haney wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Tom Spec wrote:
>> I have also had this issue in the past adding local users to machines 
>> setup for LDAP.  Try using the command:
>>
>> system-config-users
>>
>> You need a graphical environment to run this.
>>
>> Otherwise you can just manually add the user to /etc/passwd, 
>> /etc/shadow, make them a home directory, copy default files from 
>> /etc/skel into their home directory and modifiy ownership of their 
>> home directory/files.
>>
>>
>>
> I've been doing that, but I'd like to know /why/ this happens and /how/
> I can fix it.  Surely there's a mechanism for it.
>
>
>
> - --
> 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
>
> iD8DBQFEoYNQYQhnfRtc0AIRAmIuAKDygG3dUkxNM4P1924YN9TYodaHGwCff/im
> K/xTVOWuP9WDkY4NQPa4fE8=
> =KN3l
> -----END PGP SIGNATURE-----
>
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>




More information about the fedora-list mailing list