10-28-2005
try this command:
group add user root -group beoper
the following command is used to find out the user under the group
group show beoper -v
the following command is used to find out what groups he belongs to.
user show root -v
the following command is used to remove the user from the group
user-remove root beoper
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. HP-UX
How can I add a user to a specific group without using SAM? I know I can user modprpw -G, but that will overwrite any groups the user is in with the ones I specify.
I need to assume that I do not know what groups the user is already in, so I can't put them in the modprpw command. I just need... (2 Replies)
Discussion started by: paqman
2 Replies
3. BSD
Hello
I have a group called "media" which has a 7 access to a directory with the same name, my username was not included in that group, after vimming /etc/group and adding myself to it, I notice that that group is not defined as one of my groups (by issuing the "groups" command). I know that if... (1 Reply)
Discussion started by: sirbijan
1 Replies
4. 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
5. 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
6. 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
7. UNIX for Dummies Questions & Answers
I've been through many threads before i decide to create a separate thread.
I can't really find the solution to my (simple) problem.
Here's what I'm trying to achieve:
As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user.
The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies
8. Red Hat
Hi,
In the following output you can see the the user "richard" is a member on the team/group "developers":
# id richard
uid=10247(richard) gid=100361(developers) groups=100361(developers),10053(testers)
but in the following details of the said group (developers), the said user... (3 Replies)
Discussion started by: indiansoil
3 Replies
9. UNIX for Advanced & Expert Users
Hi,
I am new to unix. I am facing access permission issue
I want to access path
/app/compress from a user "test" but getting permission denied error
This path exist in "Main" user
So after some googling i came to know we need to add "test" user in "main" group
so path /app/compress ... (7 Replies)
Discussion started by: sv0081493
7 Replies
10. UNIX for Beginners Questions & Answers
I believe there are two methods of adding a user to a group. using usermod and gpasswd. but most of the time we tent to use user mod. does there any difference between these two methods ....
gpasswd -a geek admins
usermod -a -G admins geek
both code add user geek to a group admin (1 Reply)
Discussion started by: lobsang
1 Replies
LEARN ABOUT HPUX
rpccp_show_group
show group(1m) show group(1m)
NAME
show group - Shows the members of a group
SYNOPSIS
rpccp show group group-entry-name [-m member] [-r [ integer]] [-s syntax] [-u]
OPTIONS
Declares the name of a single group member. Indicates that the show group operation recurses. If any members of a group are also groups,
their entries are shown. By default, the -r option causes the show group operation to recurse until all nested groups are expanded; for
example, -r shows the members of the specified group and all nested groups.
You can limit recursion to one or more levels by specifying a decimal integer as part of the -r option. For example, -r 1 shows the members
of the specified group and, for members that are groups, the command also shows their members; then recursion stops.
Without the -r option, only the members of the specified group are shown. Indicates the name syntax of the entry name (optional). The only
value for this option is the dce name syntax, which is the default name syntax. Until an alternative name syntax becomes available, speci-
fying the -s option is unnecessary. Updates the local CDS cache copy of name service data (optional).
Name service data is cached locally on each machine in a cell. If an rpccp inquiry can be satisfied by data in the local CDS cache, this
cached data is returned. Locally cached copies of name service data might not include a recent CDS update, however. If the required data
is not available in the local CDS cache, rpccp goes to a CDS server(s) to retrieve the required data. rpccp then updates the local CDS
cache.
Using the -u option bypasses the local cache, allowing rpccp to go directly to a CDS server for the inquiry. rpccp then updates the local
CDS cache.
ARGUMENTS
Indicates the name of the target group. For an entry in the local cell, you can omit the cell name and specify only the cell-relative
name.
DESCRIPTION
The show group command shows the members of a group in the name service database. The entry name of the group is required. Unless it is
limited to a specific member (by the -m option), the show group command shows all members. The command shows only the members in the spec-
ified group; the -r option enables you to show members of nested groups.
Privilege Required
You need read permission to the CDS object entry (the target group entry). If you use the -r option, you also need read permission to any
nested groups.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLES
The following example shows all the members of the group /.:/LandS/anthro/Calendar_group, in the order in which they were added to the
group: $ rpccp rpccp> show group /.:/LandS/anthro/Calendar_group The following command operates from the system prompt to show a specific
member of the group /.:/LandS/dept/Calendar_group: $ rpccp show group > -m /.:/LandS/anthro/Cal_host_2 > /.:/LandS/anthro/Calen-
dar_group
RELATED INFORMATION
Commands: add member(1m), remove group(1m), remove member(1m)
show group(1m)