Chrooted scponly & groups problem in WinSCP

Advertisement

Leggo
Guest

Chrooted scponly & groups problem in WinSCP

Hi

I run scponlyc (chrooted scponly) on a FreeBSD box. I try to connect from WinXP machine with RSA key autentif.
Autentification works fine, after entering passphrase, I get a error message with text:
Command 'groups ; echo "WinSCP: this is end-of-file:$status"' failed with invalid output ''.

There is a 'groups' binary in the chrooted environment, also permissions should be fine.
In the auth.log on the scp box, there is not any notice about problems:
Dec 1 13:31:58 scpbox login: login from 192.168.100.28 on tty?? as uuser
Dec 1 13:32:01 scpbox [52429]: running: /usr/bin/groups (username: uuser(1004), IP/port: 192.168.100.28 1851 22)
Dec 1 13:34:45 scpbox[52429]: running: /bin/pwd (username: uuser(1004), IP/port: 192.168.100.28 1851 22)
Dec 1 13:34:45 scpbox[52429]: running: /bin/ls -la (username: uuser(1004), IP/port: 192.168.100.28 1851 22)

After this, connection works... But I don't like that error (or warning...) message.

Where can be the problem?
thanks...

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Chrooted scponly & groups problem in WinSCP

I'm not sure, but it seems that your 'groups' command has empty output and WinSCP does not expect it. I can fix it in next release. Meanwhile, you may just turn off 'Lookup user groups' option on SCP tab of login dialog.

Reply with quote

Advertisement

You can post new topics in this forum