ladybird/Base/usr/share/man/man8/groupdel.md
kleines Filmröllchen 98c0c5e9e6 Help+Base: Add help://man URLs for links between man pages
The URLs of the form `help://man/<section>/<page>` link to another help
page inside the help application. All previous relative page links are
replaced by this new form. This doesn't change any behavior but it looks
much nicer :^)

Note that man doesn't handle these new links, but the previous relative
links didn't work either.
2022-01-11 00:24:57 +01:00

805 B

Name

groupdel - delete a group

Synopsis

# groupdel <group>

Description

This program deletes a group in the system.

This program must be run as root.

Caveats

You may not remove the primary group of any existing user. You must remove the user before you remove the group.

You should manually check all file systems to ensure that no files remain owned by this group.

You should manually check all users to ensure that no user remain in this group.

Exit Values

  • 0 - Success
  • 1 - Couldn't update the group file
  • 6 - Specified group doesn't exist
  • 8 - Can't remove user's primary group

Files

  • /etc/group - group information (such as GID) in this file is deleted.

Examples

# groupdel alice

See Also