Neronix

Registered
Dec 27, 2005
4
0
151
How do I go about creating a cpanel account that would only allow the person to login via ssh and not login with cpanel. My problem is I need to make multiple ssh accounts and none of them will belong to a certain domain. And using false domains for everyone doesnt seem like a good idea.

Any suggestions?
 

flashweb

Well-Known Member
Mar 13, 2003
255
2
168
cPanel Access Level
Root Administrator
You will not able to do this with WHM/Cpanel as its designed for hosting web site.

To add a new user, login to SSH and use adduser command. For help use "man adduser"

# adduser USERNAME-HERE
# Passwd USERNAME-HERE

Will do it on Linux.
 

david510

Well-Known Member
Aug 22, 2004
473
0
166
--->>would only allow the person to login via ssh and not login with cpanel

So is it that, you wanted to login to this username's cpanel? Otherwise why do you need to make a cpanel account? It could be easily done as per flashweb said.

David
 

dave9000

Well-Known Member
Apr 7, 2003
891
1
168
arkansas
cPanel Access Level
Root Administrator
You will not able to do this with WHM/Cpanel as its designed for hosting web site.

To add a new user, login to SSH and use adduser command. For help use "man adduser"

# adduser USERNAME-HERE
# Passwd USERNAME-HERE

Will do it on Linux.
To expand on this a bit

If you add a user using the above commands on linux the user will have a workspace created at /home/USERNAME-HERE and will log in to this path when they access via ssh.

as in

useradd foo
passwd foo

will login to /home/foo
 

moFBush

Well-Known Member
Dec 31, 2005
51
0
156
i've done the following commands as the "root" user.

adduser vent
passwd vent (then when prompted, put in a password for the user)

it makes /home/vent

but the user is unable to login. :(
 

chris74108

Well-Known Member
Apr 30, 2004
86
0
156
Are you sure they are using the correct ssh port?
Perhaps you should try logging in it yourself with their login and password.