Random Linux+ Question #62

Discussion in 'Linux+' started by tripwire45, Aug 18, 2005.

  1. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    180
    287
    You have created a new group named certforums with a GID of 400. You want to change the GID from 400 to 405. Of the options below, which one is the correct command to accomplish your goal? Choose only one answer.

    1. groupadd -c 400 certforums
    2. groupadd -g 400 certforums
    3. groupadd -n 400 certforums
    4. groupadd -s 400 certforums
    5. groupadd -c 400 405 certforums
    6. groupadd -g 400 405 certforums
    7. groupadd -n 400 405 certforums
    8. groupadd -s 400 405 certforums
    9. None of the above. You must use the addgroup command instead.

    Answer later.
     
    Certifications: A+ and Network+
  2. ffreeloader

    ffreeloader Terabyte Poster

    3,661
    106
    167
    I'll go for what's behind door number 10, groupmod.

    You're confusing me, trip. Do you have access to some undocumented functions for these utilities? The only way I know of to change the gid of a group is through groupmod.
     
    Certifications: MCSE, MCDBA, CCNA, A+
    WIP: LPIC 1
  3. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    180
    287
    Oops.

    My bad. I had meant to write the correct answer as:

    "9 None of the above. You must use the groupmod command". The correct answer would actually be:
    "groupmod -g 405 certforums".

    I'll go stand in the corner for awhile.
     
    Certifications: A+ and Network+

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.