how to check which grp a user belong to?
using command line, how do i check which group/groups a user is belonging to?
THanks. |
try this
Code:
id -a |
groups <username>, where <username> is the name of the user.
|
And the hard way :) :
Code:
grep user /etc/group |cut -d':' -f1 |
All times are GMT -5. The time now is 10:20 PM. |