[LUNI] default permission group
mknoop at uic.edu
Thu Apr 6 15:20:33 CDT 2006
In the file /etc/passwd:
go to the line beginning with your userid
the fourth field is the numerical id of the default group for that id.
The numerical id is the third field in the line of the file /etc/group
which has the groupid as the first field.
You can find these file definitions by using
man -S 5 passwd
man -S 5 group
At 02:59 PM 4/6/06, you wrote:
>Where can one set a default group for a person? For example... A file is in
>the group of "peon" .. and I edit it and now its "ubergeek" .. I want the
>group to stay at "peon" ?? As far as I can tell, umask does not have anything
>to do with groups? I tried the "newgrp" command, it asks for a password, so
>I enter my normal shell password and I was rejected. So I must not be
>Group names were changed to protect the innocent.
>Linux Users Of Northern Illinois - Technical Discussion
More information about the luni