how to add a user to a certain group?
I edit the file /etc/group and put the user i want in the wheel group, save & exit, when i open a terminal as the user and type in "groups", the group information "wheel" didn't show up on the screen.
So then I edit the file /etc/gshadow and edit the line
wheel:*:root:<user_name>,
still when i type "groups", I didn't see wheel there. What did i do wrong?
Also, what's the best way to add a user to a group without using gui.
|