Questions if "id" command!
I created a user is john, and his group is business, I found the business group's ID is 500
when I use less /etc/group. but when I use id -g business , it shows "id:business:no such user", and then I run id -u john, it shows 502, why id -g business doesn't work?????????????????????????????? |
Re: Questions if "id" command!
Quote:
Try: id -G john This will print the groups-ID's user "john" is member of. |
All times are GMT -5. The time now is 08:51 PM. |