Skip to main content

Create a new user without having to create a domain account

Comments

3 comments

  • nathanl
    The best work-around to this is mentioned here : Feature Manager, multiple admin users, for WHM Add the user via SSH and add the user to the cPanel resellers file :
    echo 'username:all' >> /var/cpanel/resellers
    Once that is done, the user will have full root access to WHM.
    0
  • durangod
    Thanks nathan, appreciate that link. I have also made one user via command line for ssh as /bin/bash and one for ftp as /bin/false i hope thats the right way to do that because the ftp user cannot log into pure ftpd, im still working on that deal. :) Last time when i was on a vps years ago i had this setup so that the root could only login to WHM from my local IP so i hope that is still doable. (update)Which i found here Restricting SSH access to a specific IP for a specific user Also trying to find docs or a way to switch to root account once i am logged into WHM. Also looking for a way to have an emergency account that would only be allowed to use ssh on two days of the week, this would be like a hail mary account just in case i get locked out. I decided time was better option i dont want to have to wait for one day of the week if i get locked out. (update) ok found this one
    user1 ; * ; Wd0900-1100 | Wk0400-0800
    This would give user1 access 9am to 11am on weekends(wd) and 4am to 8am on weekdays(wk) (remember it uses military time format)
    0
  • cPanelMichael
    Also trying to find docs or a way to switch to root account once i am logged into WHM.

    Hello, There's also a document here you may find helpful: How to Create a WHM Reseller Without An Associated Domain - cPanel Knowledge Base - cPanel Documentation It's not possible to switch to the "root" user after logging in, but you can assign root privileges to the reseller account when assigning it features, per the documentation here: Edit Reseller Nameservers and Privileges - Documentation - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.