05-13-2009
Try adding the group sys to Group Set.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is it possible to dynamically allocate a new user group to an existing session on Solaris 5.8
I'd like to be able to allow certain users to access a set of scripts for the life of session (preferably there own session not a specific login created for the purpose) by dynamically giving the session... (0 Replies)
Discussion started by: hammer
0 Replies
2. UNIX for Dummies Questions & Answers
How do I add a user to a group? And how do I determine the list of groups to add a user?
Solaris 10 newbie (1 Reply)
Discussion started by: peteythapitbull
1 Replies
3. UNIX for Dummies Questions & Answers
Hi I have a user zak and
4 groups:-
oracle
stats
data
archive
I want user zak to be part of the oracle and stats group but not be able to view,list anything in data and archive. Also anyone in the data and archive group should not be able to view,list anything in oracle and stats....... (3 Replies)
Discussion started by: Zak
3 Replies
4. 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
5. Solaris
Hi.........
I'm trying to set a group of users to login to do a required super-user tasks without knowing the super-user passwd.
For example...a user popodude logs in as self with passwd..system accepts the password & then automatically asks for the super-user account passwd.
My goal is... (1 Reply)
Discussion started by: Remi
1 Replies
6. AIX
1 - what is the maximum no: of groups a user can be a part of ?
2 - what is maximum no: of users a group can contain ? (6 Replies)
Discussion started by: senmak
6 Replies
7. UNIX for Dummies Questions & Answers
hi all
i am new to solaris
how to add a user to multiple(secondary) groups.
user :anna
Groups : delhi ,mumbai,pune
i need like this in cat /etc/group
delhi::anna
mumbai::anna
pune::anna
i tried using
usermod -a -G hyd anna
that does int work
how to delete user from group... (3 Replies)
Discussion started by: kalyankalyan
3 Replies
8. AIX
Is there a command to nest a group in another group in AIX. (2 Replies)
Discussion started by: daveisme
2 Replies
9. UNIX for Advanced & Expert Users
Hi all,
I want to list out users from different group and root, who are roaming in our group or root as a user.
how can i list out this users ? (1 Reply)
Discussion started by: kpatel97
1 Replies
10. HP-UX
Hi,
I need to modify the user 'munfai' by adding it into groups bscs, oinstall, dba.
I use this command as user root to add the user into the mentioned groups :
# usermod -G bscs,oinstall,dba munfai
I can thereafter see the id in the groups :
# id munfai
uid=258(munfai) gid=20(users)... (2 Replies)
Discussion started by: anaigini45
2 Replies
<grp.h>(P) POSIX Programmer's Manual <grp.h>(P)
NAME
grp.h - group structure
SYNOPSIS
#include <grp.h>
DESCRIPTION
The <grp.h> header shall declare the structure group which shall include the following members:
char *gr_name The name of the group.
gid_t gr_gid Numerical group ID.
char **gr_mem Pointer to a null-terminated array of character
pointers to member names.
The gid_t type shall be defined as described in <sys/types.h> .
The following shall be declared as functions and may also be defined as macros. Function prototypes shall be provided.
struct group *getgrgid(gid_t);
struct group *getgrnam(const char *);
int getgrgid_r(gid_t, struct group *, char *,
size_t, struct group **);
int getgrnam_r(const char *, struct group *, char *,
size_t , struct group **);
struct group *getgrent(void);
void endgrent(void);
void setgrent(void);
The following sections are informative.
APPLICATION USAGE
None.
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
<sys/types.h> , the System Interfaces volume of IEEE Std 1003.1-2001, endgrent(), getgrgid(), getgrnam()
COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol-
ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE
and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained
online at http://www.opengroup.org/unix/online.html .
IEEE
/The Open Group 2003 <grp.h>(P)