RH 7.2
I'm trying to list the users & groups on my machine. I found the lsuser & lsgroup commands but no associated man pages.
I typed: lsuser
I get --> Valid options are: -a
So I typed: lsuser -a
I get --> Valid options are: groups, home
So I typed: lsuser -a groups
I get -->... (2 Replies)
Hi all
usermod -G Group_id login
it is replacing the existiong Secoundry groups and is adding the only group speced in usermod command
how can we retain the existing secoundry groups and add a user to a new group (6 Replies)
hi eveyone i've recently requested my unix admin to create a userid for 2 groups. He created the id and i can see it by grep "id" /etc/group.
But when i login with that id into unix and try to cd that group it says permission denied. something like cd /groupname -- permission denied
Can my admin... (1 Reply)
How do I remove a user from a group? I'm using the usermod command but its not working.
I have a user "abc" who is a member of the groups root and other. I'm trying to remove him from the group "other" (using CLI) which is his secondary group but it's not working.
How do I do this? Is there any... (11 Replies)
Hi
How can I add a group1, group2 and group3 inside another global group called systemgroup?
I have differents users in group1,2,3n and I create a sysgroup, now I want to add theses groups into the global.. is it possible?
NOTE: Debian OS running.
thanks (1 Reply)
Hi
I am new to unix so hopefully someone can help. I need to list all the users I have in my unix enviroment (AIX) and the groups (primary and secondary) they belong to.
Can anyone help?
Many thanks in advance (2 Replies)
Happy Thanksgiving Everyone!! I have a question about adding users to multiple groups. Thanks in advance
Using Red Hat and here are the issues:
Example:
Users:
Bob
Mark
Groups:
SystemsAnalysts
BusinessAnalysts
If I am adding a user Bob to both groups (SystemsAnalysts and... (2 Replies)
Hi
Could anyone please suggest how we can check in Linux if a user or a group name is already existing? In case of a user the command should also be able to specify the user with a given directory and shell. We can of course check this using a grep command but since that is just a pattern match,... (12 Replies)
Discussion started by: Dorothy
12 Replies
LEARN ABOUT OSF1
group
group(4) Kernel Interfaces Manual group(4)NAME
group - Group file
DESCRIPTION
The /etc/group database contains the following information for each group: Group name Encrypted password Numerical group ID A comma-sepa-
rated list of all users allowed in the group
Note: Do not put any spaces between a comma and a username; otherwise, the username following the comma will not be made a part of the
desired group.
The /etc/group file is an ASCII file, with the fields separated by colons. Each group is separated from the next by a new line. 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.
Note that commands or scripts used for adding users to groups are subject to the 225 character limit on line lengths. However, you can
split lines as appropriate.
RESTRICTIONS
Increasing the number of groups that a user is in beyond 16 can affect services that use ONC RPC. Tru64 UNIX ONC RPC supports up to 32
groups for compatibility with ULTRIX Version 4.2 and higher. Other vendors may support only 16 groups. ULTRIX versions before 4.2 support
up to 8 groups. Users who increase their group membership beyond 8 or 16 groups will not be able to NFS mount file systems from servers
that only support 8 or 16 groups over NFS. In addition, if root group membership is increased beyond 8 or 16, the NIS service will not work
in a mixed NIS server environment where the servers support only 8 or 16 groups. The addgroup command limits the length of a group name to
eight characters or less.
FILES
/etc/group
RELATED INFORMATION
Commands: addgroup(8), groupadd(8), adduser(8), groups(1), passwd(1)
Functions: setgroups(2)
Routines: initgroups(3)
Files: passwd(4)
delim off
group(4)