Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

groupe

Dedieu_1
Occasional Visitor

groupe

how can i put a user in two groupes (create /ident, grant ident and so on...)?
2 REPLIES
Michael Schulte zur Sur
Honored Contributor

Re: groupe

Hi,

I assume, that you mean unix group?
The first group of each user is in /etc/passwd. A user is added to a new group by adding him in /etc/group in the sprecific group. New groups are added with addgroup. The primary group of a user can be changed by newgroup

hth,

Michael
Mobeen_1
Esteemed Contributor

Re: groupe

Dedieu,
Looks like you are talking about the VMS commands :-)

Any ways, yes its absolutely possible for a user in Unix environment to belong to more than one groups. How ever at any given point of time, the user can be active in only one group.

As our friend in the prior post has mentioned, I am just listing the same from his post for your ref below, which is


----start of cut-paste from previous post---
The first group of each user is in /etc/passwd.

A user is added to a new group by adding him in /etc/group in the sprecific group.

New groups are added with addgroup. The primary group of a user can be changed by newgroup

------end of cut-paste from previous post---
Let us know if you have any specific questions

rgds
Mobeen