Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

leggo

Re: Chrooted scponly & groups problem in WinSCP

OKI, thanks
martin

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.
Leggo

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...