The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

adduser command

Discussion in 'General Discussion' started by pacificw, Jun 8, 2008.

  1. pacificw

    pacificw Well-Known Member

    Joined:
    Aug 26, 2007
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Hello all.,

    I had this written down some place and I seemed to have misplaced it. Can someone tell me what the command line usage for adding a user within a certain group is in the shell. I know you create the group first then add them to the group., I just don't recall the syntax. Please don't tell me to look it up. I have searched google and I cannot find the syntax that I'm looking for.

    TIA

    FYI: I'm using CentOS 5.1
     
    #1 pacificw, Jun 8, 2008
    Last edited: Jun 8, 2008
  2. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Code:
    useradd -G {group-name} username
     
Loading...

Share This Page