LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   /etc/group File Query (https://www.linuxquestions.org/questions/linux-general-1/etc-group-file-query-207701/)

Obie 07-20-2004 11:55 PM

/etc/group File Query
 
I have noticed that everytime I create a new group it increments taking into account what the last GID was e.g. If my last GID was 600 and I added a new group, it would be assigned the GID 601. My question relates to how can I have the group take over the GID of a deleted group rather than increment to a new number. e.g. I deleted a group with GID 511 and would want any new group I created to take over this number.

1) Is this advisable?
2) What are the implications?
3) Any other suggestions?

Thank You.

darthtux 07-21-2004 12:02 AM

groupadd -g gid_number group_name

If that deleted group is not in /etc/group then no problem


All times are GMT -5. The time now is 05:44 PM.