command to list out all user group:
groups
For this case, there is one user group only : root
command to check user in which group:
groups username
In this simple, user "kana" is not in any group, johnwong in "root" group
Reference:
http://www.howtogeek.com/howto/ubuntu/see-which-groups-your-linux-user-belongs-to/
No comments :
Post a Comment