hello
I have the same problem, but I don't want to disable 'Lookup user groups' checkbox
I use SCPONLY with CHROOT (with chroot=/home/scpdemo/ ) and I have had copy file /usr/bin/groups to /home/scpdemo/usr/bin/groups, I have had also make /home/scpdemo/etc/group with one line scp::103: .
Can you help me to resolv the problem?
The winscp says: Command "groups" failed with invalid output "".
in log is: Looking up current user groups.
groups ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:-1
and in syslog is: Mar 18 09:32:41 servername [7427]: failed: /usr/bin/groups with error No such file or
directory(2) (username: scpdemo(2773), IP/port: x.x.x.x 1904 22)
Thank You
martin wrote:
On startup WinSCP tries to get list of groups to which user belongs by executing 'groups' command. This command is probably not supported by your server or the binary is not in path.
You may disable this feature by unchecking 'Lookup user groups' checkbox on
Shell tab of login dialog.
For list of commands required by WinSCP see
Shell requirements.