03-30-2006
If you are adding a new user - that new account will be in a specific group that you pick. It doesn't need to list that user in /etc/group for that one group. It will only list users in /etc/group when they belong to other groups (secondary groups).
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Now, its been a while since i done this but I had to add a user to a group. I did that by using the usermod command and now when I superuser to the user's account and issue a "id", i get the desired gid.
i mean, output of id indicated the user is assigned to the group i want him to be in. ... (5 Replies)
Discussion started by: TRUEST
5 Replies
2. UNIX for Advanced & Expert Users
***deleted by reborg for rule 1 violation*** (1 Reply)
Discussion started by: manoranjan
1 Replies
3. AIX
Hi All,
Does anyone know if there is a maximum limit to the number of users that can be assigned to a group. I currently have on a production server 900+ users in 1 group. I know some of these users are no longer valid as we only have 500 employees and not all employees use this application.
... (4 Replies)
Discussion started by: anmiller
4 Replies
4. Shell Programming and Scripting
Hi,
Can any one tell me is it possible to setup private key public key pairing(SSH ) for a group of users , instead of setting it up for individual users ?
Eg:
Say i have 3 users A,B and C and i want the users to connect to SERVER1. instead of generating public private keys for each user , is... (3 Replies)
Discussion started by: deepusunil
3 Replies
5. Solaris
Hi all,
I have a existing user user1 its group id dba
i have created a new user named: uta and added to group dba
my task for creating uta ( to ftp solaris server from /oracle/pcmia/dry1 & oracle/pcmia/dry2 and get some rdf ( database patch) and saved in one windows folder named d:\patch... (2 Replies)
Discussion started by: saurabh84g
2 Replies
6. Shell Programming and Scripting
Im trying to put all the groups in into a variable called $GROUP, however in /etc/group there are also lotsa users. And the GID of group can differ as it can be set, this there is no specific range, how can i put all the names of the groups into that variable? (3 Replies)
Discussion started by: dplate07
3 Replies
7. Programming
Hello
They have ordered to me that makes several small utilities in C/C++ for the servants, among them a small program in C/C++ to generate a file HTML with the groups of that servant and in addition that is the corresponding users of that group.
For example of a group:
Group: Sys Members:... (2 Replies)
Discussion started by: cybermeis
2 Replies
8. Shell Programming and Scripting
Hello guys!!
If a user is already created on a server, how do you add them to another group?
The useradd command? If so then would that duplicate the user account on the server?
Thanks
Bigben (4 Replies)
Discussion started by: bigben1220
4 Replies
9. Shell Programming and Scripting
hi guys
I am trying to display a list of groups and the respective users:
Group1 : user1 user2 user3 ....
the closest thing I get is
echo " "; echo "Group Users "; echo " "; cat /etc/group |grep | grep -v nfswhich I really don't since I want to remove the other stuff like x : and... (4 Replies)
Discussion started by: karlochacon
4 Replies
10. AIX
Hi,
I have a 2 node Cluster. Which is working in active/passive mode (i.e Node#1 is running and when it goes down the Node#2 takes over)
Now there's this requirement that we need a mount point say /test that should be available in active node #1 and when node #1 goes down and node#2 takes... (6 Replies)
Discussion started by: aixromeo
6 Replies
group(5) File Formats Manual group(5)
Name
group - group file
Description
The file is an ASCII file that contains the following information for each group:
Group name
Encrypted password
Numerical group ID
Comma-separated list of all users allowed in the group
Each group name is separated from the next by a new line. The fields are separated by colons. If the password field is null, no password
is demanded.
Because of the encrypted passwords, it can and does have general read permission and can be used, for example, to map numerical group IDs
to names.
The database can be distributed in a network by a naming service, such as Yellow Pages or BIND/Hesiod. See the Guide to the Yellow Pages
Service or the Guide to the BIND/Hesiod Service for setup information.
Restrictions
The command will not change the passwords.
Increasing the number of groups that a user is in beyond 8 can affect services that use SUN RPC. The version of SUN RPC shipped with ULTRX
V4.2 supports up to 32 groups. Prior versions supported users being in up to 8 groups. Users who increase the number of groups that they
are a member of to more than 8 will not be able to NFS mount file systems from ULTRIX servers older than V4.2. If root group membership is
increased to more than 8 groups on a V4.2 system, the YP service may not work if that V4.2 system is in a mixed YP server environment where
there are both V4.2 and previous releases of YP servers. Again, this incompatibility can only occur if a user's or root's group membership
is increased to more than 8 groups.
Files
See Also
passwd(1), setgroups(2), crypt(3), getgrent(3), initgroups(3x), passwd(5)
Guide to the BIND/Hesiod Service
Guide to the Yellow Pages Service
group(5)