User Groups and the /etc/group file

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

 



Hi,

	I'm confused, Created a user using

useradd -c user_full_name -d /dev/null  -g GroupA -s /sbin/nologin bob_t

I see in the /etc/passwd file

bob_t:x:100:1000:user_name:/dev/null:/sbin/nologin

Where in /etc/group 

GroupA:x:1000

The question is, how come bob_t is not included into GroupA in the
/etc/group file?

Is the /etc/group file only for supplemental groups which the user bob_t
is also associated with? (and GroupA is the user's primary group and
thus no need to be included?)


using the command line parameter usermod -g somegroup username
-- 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux