bredzhang / shellinabox

Automatically exported from code.google.com/p/shellinabox
0 stars 0 forks source link

Can't log in #113

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
May be something silly I am doing wrong:
What steps will reproduce the problem?
1. Logging in

What is the expected output? What do you see instead?
I expect to be logged in but it says login incorrect

What version of the product are you using? On what operating system?
Version 2.10 CentOS

Please provide any additional information below.
When it says "Login:" on the webpage I enter root then my password but it says 
login incorrect when I have it right. Do I have to do root@hostname or 
something else? I have tried root@host already

Original issue reported on code.google.com by dramp...@gmail.com on 11 Feb 2011 at 1:59

GoogleCodeExporter commented 8 years ago
I'll ask the silly question...

Root login only works for ttys that are declared in the /etc/securetty file. 
Check your /var/log/secure file for a failed login message with the tty name.  
However really you should not be logging in as root. Login as a regular user 
and then su or sudo to root.

Original comment by jmcdo...@gmail.com on 4 Mar 2011 at 11:13

GoogleCodeExporter commented 8 years ago
Thanks, this helps me too!

Original comment by kiryla...@gmail.com on 13 Jun 2012 at 6:41