Recipe 8.14. Creating System Groups with addgroup

 < 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 > 


    Linux Cookbook
    Linux Cookbook
    ISBN: 0596006403
    EAN: 2147483647
    Year: 2004
    Pages: 434

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net