bredzhang / shellinabox

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

Can't login in webserver #231

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Login

What is the expected output? What do you see instead?
I expect to be sucessfully logged

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

Server Yamato
root@yamato:~# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"

root@yamato:~# shellinaboxd --version
ShellInABox version 2.10 (revision 239)

Server Topeira
root@topeira:~# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"

root@topeira:~# shellinaboxd --version
ShellInABox version 2.10 (revision 239)

Please provide any additional information below.

In my local server (Topeira) the Shellinabox works normally, without problems, 
but in my webserver (Yamato) i can't login, i send a password 3 times and can't 
login, the panel dont report a wrong password.

I tried to resolve using a issue 113 
(http://code.google.com/p/shellinabox/issues/detail?id=113) but without success.

PS: Sorry my bad english.

My data.

Yamato
SHELLINABOX_ARGS="--no-beep --disable-ssl -s /ponte/shell:SSH --localhost-only"

root@yamato:~# tail -f /var/log/auth.log
May 27 16:23:02 ks3XX4YY sshd[6147]: pam_unix(sshd:auth): authentication 
failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=yamato.mydomain.com  
user=desktop
May 27 16:23:05 ks3XX4YY sshd[6147]: Failed password for desktop from 127.0.0.1 
port 33580 ssh2
May 27 16:23:18 sshd[6147]: last message repeated 2 times
May 27 16:23:18 ks3XX4YY sshd[6147]: Connection closed by 127.0.0.1 [preauth]
May 27 16:23:18 ks3XX4YY sshd[6147]: PAM 2 more authentication failures; 
logname= uid=0 euid=0 tty=ssh ruser= rhost=yamato.mydomain.com  user=desktop

http://yamato.mydomain.com/ponte/shell/
yamato login: desktop
desktop@yamato.mydomain.com's password:
desktop@yamato.mydomain.com's password:
desktop@yamato.mydomain.com's password:
Session closed. 

---

Topeira
SHELLINABOX_ARGS="--no-beep --disable-ssl -s/ponte/shell:SSH --localhost-only"

root@topeira:~# tail -f /var/log/auth.log
May 27 11:21:01 topeira sshd[1584]: Accepted password for rooter from 127.0.0.1 
port 56456 ssh2
May 27 11:21:01 topeira sshd[1584]: pam_unix(sshd:session): session opened for 
user rooter by (uid=0)

http://192.168.0.27/ponte/shell/
topeira login: rooter
rooter@topeira's password:
Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-23-generic x86_64)
 * Documentation:  https://help.ubuntu.com/                                                                                            
System information as of Mon May 27 11:31:47 BRT 2013
System load: 0.0 Processes: 79
Usage of /: 3.8% of 29.04GB Users logged in: 1
Memory usage: 19% IP address for eth0: 192.168.0.27
Swap usage: 0%
  Graph this data and manage this system at https://landscape.canonical.com/                                                           
Last login: Mon May 27 11:21:01 2013 from localhost
rooter@topeira:~$ 

Original issue reported on code.google.com by joubertj...@gmail.com on 27 May 2013 at 2:36

GoogleCodeExporter commented 8 years ago
hahah, a readed a last issue (issue 229) and the problem is this, the password 
in webserver have another characters "-", i tested with another user and 
password and login sucessfully.

Original comment by joubertj...@gmail.com on 27 May 2013 at 2:47