Next | Prev | Up | Top | Contents | Index

Deleting a Group from the System

Deleting a group from the system is done in the following steps:

  1. Edit the /etc/group file and change the desired entry to a new but unused name, for example, you might change the group bigproject to bigproject.closed.

  2. Edit the /etc/passwd file and remove the group from the user entries wherever it exists.

  3. Use find(1) to find all files and directories with the old group affiliation and change the affiliation to a group that is still in use with the chgrp(1) command.

Next | Prev | Up | Top | Contents | Index