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 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)
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)
Hi,
I have two little issues:
1) there is possible in sh to create a function who return a boolean value?
2)i have to verify if an user belongs to a group and i think it is needed to create a function which take two parameter and return a boolean value. in fact i have to parse /etc/group... (5 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)
Hi Guys,
I want a script where in I need to send an email to individual users about their groups.
OS:unix redhat
Shell :Bash.
The mail should be like,"Hi &username , you are in part of &group1,&group2 .."
I need to mail to their personal email id mostly @outlook. Not to their UNIX.... (1 Reply)
Discussion started by: vijay2107
1 Replies
LEARN ABOUT REDHAT
pvmflvgrp
LVGROUP(3PVM) PVM Version 3.4 LVGROUP(3PVM)NAME
pvm_lvgroup - Unenrolls the calling process from a named group.
SYNOPSIS
C int info = pvm_lvgroup( char *group )
Fortran call pvmflvgroup( group, info )
PARAMETERS
group Character string group name of an existing group.
info Integer status code returned by the routine. Values less than zero indicate an error.
DESCRIPTION
The routine pvm_lvgroup unenrolls the calling process from the group named group. If there is an error info will be negative.
If a process leaves a group by calling either pvm_lvgroup or pvm_exit, and later rejoins the same group, the process may be assigned a new
instance number. Old instance numbers are reassigned to processes calling pvm_joingroup.
EXAMPLES
C:
info = pvm_lvgroup( "worker" );
Fortran:
CALL PVMFLVGROUP( 'group2', INFO )
ERRORS
These error conditions can be returned by pvm_lvgroup
PvmSysErr
pvmd not responding.
PvmBadParam
giving a NULL group name.
PvmNoGroup
giving a non-existent group name.
PvmNotInGroup
asking to leave a group you are not a member of.
SEE ALSO pvm_joingroup(3PVM)
30 August, 1993 LVGROUP(3PVM)