I find that if I want to sign a user to certain group, just modify the group id in the /etc/passwd file.
yozloy:x:501:5:this is my own user::
It already works! why should I add the user name in the group file?
admin:x:5:yozloy
|
I find that if I want to sign a user to certain group, just modify the group id in the /etc/passwd file.
It already works! why should I add the user name in the group file?
| |||
|
feedback
|
|
In Unix like operating systems, users are organized into groups, every users is in at least one group(primary group), and may be in other groups. Group membership gives you special access to files and directories which are permitted to that group. Every user is in a primary group defined in | |||
|
feedback
|
|
The group in | |||
|
feedback
|