Previous Section  < Day Day Up >  Next Section

Recipe 8.14. Creating System Groups with addgroup

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

    Previous Section  < Day Day Up >  Next Section