[scponly] chroot group issues
Roland Lammel
roland.lammel at kapsch.net
Thu Sep 11 13:38:54 EDT 2003
There is an option to enable winscp-compat, which might help.
I have setup ssh chroot for solaris and have a user connecting with winscp 3 which works like a charm.
It's possible that either permissions are wrong for groups or a shared library is needed which is not in your chroot.
Cheers
+rl
Amaya Rodrigo Sastre wrote:
> Hi there!
>
> I have set up a chrooted enviroment for scp uploads.
> Everything is working fine, but there's just a little flaw and I want to
> get rid of it.
>
> My users are using WinSCP for their uploads, and whenever they log in, I
> get this in the logs and they see an error popup stating so:
>
> Sep 11 10:56:12 comm sshd(pam_unix)[25928]: session opened for user scpuser by (uid=815)
> Sep 11 08:56:19 comm [25929]: running: /usr/bin/groups (username: scpuser(815), IP/port: xx.xx.xxx.xx 50921 22)
> Sep 11 08:56:19 comm [25931]: failed: /usr/bin/groups with error No such file or directory(2) (username: scpuser (815), IP/port: xx.xx.xxx.xx 50921 22)
>
> But in my chroot /chroot/scpuser/usr/bin/groups exists.
>
> When doing an scp from a linux prompt, using the same user, I see no
> error at all related to groups stuff.
>
> Anyone seen anything similiar? Any ideas will be more than wellcome.
>
>
--
Ing. Roland Lammel | Technical Assistance Services
Kapsch CarrierCom AG | Am Europlatz 5 | 1120 Vienna | Austria
Phone +43 (0)50811 3456 | Mobile +43 664 628 3456 | Fax +43 (0)50811 3405
mailto:roland.lammel at kapsch.net | http://www.kapsch.net
More information about the scponly
mailing list