Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    3

    Default Creating user *without* domain

    Hi, I'm new to cPanel/WHM, coming from Ensim. I like the flexibility so far!

    I'm wondering what the best supported way is to create a user account that only needs shell access. This user does not need to be associated with a domain. The user account would be used to run some automated scripts that are custom, not functionality normally supported by cPanel.

    cPanel/WHM seems very flexible, so I'm wondering what the best was is to do this.

    Thanks!

  2. #2
    Member
    Join Date
    Jul 2006
    Posts
    290

    Default

    It would just as simple as adding the user to the system. Do this via a shell prompt:

    useradd username

    That will create a new user, and a new group, for the ‘username’ that you placed in there. Now, to change the password for that user, run this:

    passwd username

    If you have secures SSH, make sure you add the user to the allowed list if needed.

  3. #3
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Just for reference for this user ....

    adduser - Linux Command - Unix Command

  4. #4
    Registered User
    Join Date
    Mar 2010
    Posts
    3

    Default

    Thanks. I'm familiar with adduser/useradd. My preference was to do something supported by WHM, and barring that, something that wouldn't confuse WHM. Thank you for confirmed what that would be.

Similar Threads & Tags
Similar threads

  1. Creating a MySQL User
    By spacechase0 in forum cPanel Developers
    Replies: 7
    Last Post: 09-09-2010, 12:07 PM
  2. Creating a new database user
    By astarmaths in forum Database Discussions
    Replies: 1
    Last Post: 02-06-2009, 05:25 AM
  3. parking a domain and creating e-mail domain forwarder at the same time?
    By frkandris in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 08-13-2008, 11:11 AM
  4. Creating a MySQL DB and user
    By Francisco in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-02-2004, 01:12 PM
  5. Creating new user
    By eclipsegfx in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-21-2003, 03:00 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube