06-17-2010
Groups in Unix ???
What is Primary group and Secondary Group in Unix.?
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hi,
Is it possible that one user belongs to many groups, or the relation of user/group is 1/1?. Thanks
Ramón (2 Replies)
Discussion started by: rsanz
2 Replies
2. UNIX for Advanced & Expert Users
I created UNIX groups - oinstall, dba and UNIX user - oracle for the installation of Oracle 10g. But I might did something incorrectly. Oracle user account didn't created properly. How to remove these UNIX groups and user so that I can start over again to create them properly. Thanks. (7 Replies)
Discussion started by: duke0001
7 Replies
3. AIX
Hello
A couple of weeks ago, I added a user to an AIX 5.3 system.
I go to add one today, and it appears that when creating a user in smit, I cannot see any groups.
No primary groups
No Group set
No Admin Groups
The /etc/group and etc/secuity/group files seem to be intact.
I did... (4 Replies)
Discussion started by: mhenryj
4 Replies
4. Shell Programming and Scripting
I have some groups and when i issue a command like
groups $LOGNAME
it displays in one line
rfautosys c2ru cash2
I want to fetch only group starting with c2 but when i grep i am getting full line. Can someone advise
on this please as how i can get output as c2ru? (2 Replies)
Discussion started by: gehlnar
2 Replies
5. UNIX for Dummies Questions & Answers
Is there a way to find out all users and the UNIX groups they belong to??
:) (3 Replies)
Discussion started by: Hangman2
3 Replies
6. Solaris
how to create 1000 users in 1 group (0 Replies)
Discussion started by: tirupathi
0 Replies
7. Solaris
1 user in member of 4 groups find file permissions and default group (1 Reply)
Discussion started by: tirupathi
1 Replies
8. UNIX for Dummies Questions & Answers
Must I be in a group? I am using Ubuntu and am the only user on my PC. I know how to change groups but do not see a way to not be in a group. Any help would be appreciated. (2 Replies)
Discussion started by: nthepines
2 Replies
9. Shell Programming and Scripting
Hi All
I am trying to do ssh to different server and on the remote server for each user trying to get groups of that user but i am not getting the required
result.
ssh username@ip_address "for i in $( cat /etc/passwd| cut -d: -f1);do groups $i done;exit" >>abc.txt
only names are... (5 Replies)
Discussion started by: Ekamjot
5 Replies
10. UNIX for Beginners Questions & Answers
Hi Team,
I got a requirement to send a mail to the individual users of a unix server about their respective groups. can some one help me to provide the script as I am unable to write that.
I tried with below lines but I come out with errors.
cat /etc/passwd | awk -F':' '{ print $1}' |... (6 Replies)
Discussion started by: harshabag
6 Replies
LEARN ABOUT HPUX
vrnotify
vrnotify(1M) vrnotify(1M)
NAME
vrnotify - display Veritas Volume Replicator (VVR) events
SYNOPSIS
vrnotify [-g diskgroup] [-n number] [-t timeout] [rvg1 rvg2...]
DESCRIPTION
The vrnotify utility displays events related to Veritas Volume Replicator (VVR) as managed by the Volume Replicator administrative daemon,
vradmind. The vrnotify command is a VVR-specific utility and requires a valid VVR license.
A Replicated Data Set (RDS) is comprised of a Replicated Volume Group (RVG) on the Primary host and its counterparts on the Secondary
hosts.
Note: An RDS is a concept used in vradmin; it is not a VVR object.
The vradmind daemon distributes VVR related events to Primary and Secondary hosts in the RDS. The vrnotify command displays events for one
or more RDS.
The rvg argument is the name of a replicated volume group (RVG) on the local host that specifies the RDS on the local host. rvg determines
a default local disk group, according to the standard disk group selection rules described in vxintro(1M). You can specify a specific
local disk group using the -g diskgroup option.
The vrnotify command displays each event on a new line using the following format:
host-name:event-type:rds-name:Event Message
The following event types may be displayed:
o resync_started
o resync_stopped
o resync_paused
o lat_throttle_on
o lat_throttle_off
o lat_throttle_override
o lat_throttle_fail
o srlprot_throttle_on
o srlprot_throttle_off
o srlprot_override
o srlprot_fail
o srl_overflow
o srlprot_dcm_on
o srlprot_dcm_off
o rlk_connect
o rlk_disconnect
o srl_log_warn
OPTIONS
-g diskgroup
Specifies the disk group for the operation, either by disk group ID or by disk group name. By default, the disk group is chosen
based on the RDS rvg (if any).
-n number Displays the indicated number of events, then exits.
-t timeout
Displays events for up to timeout seconds, then exits. The -n and -t options can be combined to specify a maximum number of
events and a maximum timeout to wait before exiting.
FILES
/var/vx/vras/log Directory containing log files for vradmind server.
EXIT CODES
The vrnotify utility exits with a status of 1 if the attempted operation fails. This exit code is the same for all problems.
SEE ALSO
vradmin(1M)
VxVM 5.0.31.1 24 Mar 2008 vrnotify(1M)