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.
xz02Asked:
Who is Participating?
 
tfewsterConnect With a Mentor Commented:
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)
0
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.

All Courses

From novice to tech pro — start learning today.