• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 431
  • Last Modified:

How to set effective group id?

Under Solaris, my user id belongs to 3 groups.  Right now,
one of them is effective.  How can set another group to
be my effective group.
1 Solution
newgrp [ -| -l  ]  new_group_name

(man newgrp for more info on the effects, but it does change the real & effective group id for the duration of the session - to make it the default, you'd have to edit /etc/passwd)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now