LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   What group is my user ID assigned to? (https://www.linuxquestions.org/questions/solaris-opensolaris-20/what-group-is-my-user-id-assigned-to-672508/)

runnerpaul 09-26-2008 06:38 AM

What group is my user ID assigned to?
 
Hi

Is there any command that will show me which group my user ID is assigned to?

Cheers
Paul

jlliagre 09-26-2008 06:47 AM

The groups command is precisely doing that.

indeliblestamp 09-26-2008 06:47 AM

Use 'id' to show your default group, and 'id -a' to show all groups you belong to.
(oh yeah, 'groups' works too)


All times are GMT -5. The time now is 11:08 PM.