useradd
Paul M. Whitney
paul.whitney at mac.com
Fri Jun 6 17:22:15 UTC 2008
You are correct, I misinformed you.
The /etc/default/useradd file is there as a backup for values that may not
already be defined in /etc/libuser.conf. The login.defs file also contains
attributes used by libuser.conf.
If you look at the /etc/libuser.conf file you will see that:
[CODE]
[userdefaults]
LU_USERNAME = %n
# LU_UIDNUMBER = 500
LU_GIDNUMBER = %u
# LU_USERPASSWORD = !!
# LU_GECOS = %n
# LU_HOMEDIRECTORY = /home/%n
# LU_LOGINSHELL = /bin/bash
[/CODE]
If you look at /etc/login.defs:
[CODE]
#
# Min/max values for automatic uid selection in useradd
#
UID_MIN 500
UID_MAX 60000
#
# Min/max values for automatic gid selection in groupadd
#
GID_MIN 500
GID_MAX 60000
[/CODE]
Hope this clear things up....
Paul
-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
On Behalf Of Joy Methew
Sent: Friday, June 06, 2008 1:13 PM
To: General Red Hat Linux discussion list
Subject: Re: useradd
ya users = 100 but my new users are not member of users group......
On Fri, Jun 6, 2008 at 10:35 PM, Paul M. Whitney <paul.whitney at mac.com>
wrote:
> It means that when you invoke the useradd command from the command line
new
> users will automatically become a member of the 100 group. If you look at
> /etc/group, 100 = users.
>
>
> Paul W
>
> -----Original Message-----
> From: redhat-list-bounces at redhat.com [mailto:
> redhat-list-bounces at redhat.com]
> On Behalf Of Joy Methew
> Sent: Friday, June 06, 2008 1:00 PM
> To: General Red Hat Linux discussion list
> Subject: useradd
>
> hello all....
> what is mean of GROUP=100 in /etc/defaults/useradd file????
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list