Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2007
    Posts
    65

    Default adduser command

    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
    Last edited by pacificw; 06-08-2008 at 10:58 AM. Reason: added OS

  2. #2
    Member
    Join Date
    Jul 2004
    Posts
    496

    Default

    Code:
    useradd -G {group-name} username

Similar Threads & Tags
Similar threads

  1. Top command not showing filenames in the command option (using mod_fcgid)
    By iNF3RN0 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-23-2010, 12:47 PM
  2. xmlapi adduser fails silently
    By KateYoak in forum cPanel Developers
    Replies: 3
    Last Post: 10-12-2010, 07:36 PM
  3. Adding a regular Linux login (adduser) will it break cPanel?
    By wizzy420 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-20-2008, 10:31 PM
  4. Pushing ADDUSER Inquiry
    By Solokron in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-27-2007, 05:03 AM
  5. FreeBSD - Creating FTP account with adduser
    By flashweb in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-07-2006, 09:03 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube