Linux Cookbook

 < Day Day Up > 

8.14.1 Problem

You need to create some new system groups, and you want to use addgroup.

8.14.2 Solution

Here's how to create system groups with addgroup:

# addgroup system

newsysgroup

You can assign the GID, overriding the default. Remember to stick with your distribution's (or your personal) numbering scheme:

# addgroup system gid 300

newsysgroup

8.14.3 See Also

  • addgroup(8)

  • Recipe 8.11

     < Day Day Up > 

    Категории