[scponly] Cannot login after upgrade to 4.2 on FreeBSD 6.0

Helmut Schneider jumper99 at gmx.de
Tue Dec 27 08:02:25 EST 2005


Hi,

I recently upgraded from 4.1 to 4.2. By now I cannot login anymore. Using 
WinSCP I immediately get an unspecified error, using ssh -l from another 
machine at least shows up /etc/motd and then closes the connection.

Dec 27 13:48:50 cms scponly[39667]: chroot dir writable by group/other: 
/var/www/var/www

root at cms:/root# ls -la /var/www/var/www
total 26
dr-xr-xr-x  11 root      daemon     512 Dec 13 14:52 .
dr-xr-xr-x   6 root      daemon     512 Dec 15 18:16 ..
dr-xr-x---   2 root      cmsadmin   512 Dec 13 15:01 .ssh
dr-xr-xr-x   2 root      daemon     512 Dec 27 13:05 bin
drwxrwxr-x   5 cmsadmin  cmsadmin   512 Dec 27 10:14 cms
dr-xr-xr-x   2 root      daemon     512 Dec 13 12:13 data
dr-xr-xr-x   2 root      daemon     512 Dec 27 13:05 etc
dr-xr-xr-x   2 root      daemon     512 Dec 27 13:05 lib
dr-xr-xr-x   2 root      daemon     512 Dec 27 13:05 libexec
dr-xr-xr-x  14 root      daemon    4608 Dec 13 13:34 manual
dr-xr-xr-x   6 root      daemon     512 Dec 13 14:10 usr
root at cms:/root# grep cmsadmin /etc/passwd
cmsadmin:*:1001:1001:User &:/var/www/var/www:/usr/local/sbin/scponlyc
root at cms:/root#

What did I miss?

Thanks, Helmut 




More information about the scponly mailing list