Results 1 to 9 of 9
Thread: Cant login other than root
-
12-30-2007, 10:25 PM #1Newbie
- Join Date
- Dec 2007
- Posts
- 6
Cant login other than root
Hello I am on my linux box and I can not login to any other user accept root and i do not have that one setting in sshd_config to make it so only root cant login or what ever.. lol
-
12-30-2007, 10:48 PM #2Web Hosting Master
- Join Date
- Apr 2005
- Posts
- 1,767
Create a new user with 'adduser USERNAME', then 'passwd USERNAME' to set the password.
Go into /etc/ssh/sshd_config, and set PermitRootLogin to 'no', Protocol to '2', then save.
Execute 'service sshd restart', then login as USERNAME, to get to root console, use 'su -'.
-
12-30-2007, 11:07 PM #3Newbie
- Join Date
- Dec 2007
- Posts
- 6
still cant login with any user
-
12-30-2007, 11:10 PM #4Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
Do you have AllowUsers set for only root in your config by chance?
What happens when you try to login as another user?
-
12-30-2007, 11:15 PM #5Web Hosting Master
- Join Date
- Apr 2005
- Posts
- 1,767
Check /var/log/security, and paste relevant messages
-
12-30-2007, 11:21 PM #6Newbie
- Join Date
- Dec 2007
- Posts
- 6
-
12-30-2007, 11:23 PM #7Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
-
12-30-2007, 11:24 PM #8Newbie
- Join Date
- Dec 2007
- Posts
- 6
-
12-30-2007, 11:32 PM #9Newbie
- Join Date
- Dec 2007
- Posts
- 6