Topic "Chrooted scponly & groups problem in WinSCP"

Author Message
Leggo

Guest


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...
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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.
leggo

Guest


OKI, thanks
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License