[scponly] chroot group issues

Amaya Rodrigo Sastre arodrigo at genasys.com
Thu Sep 11 13:00:42 EDT 2003


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.


-- 
Amaya M. Rodrigo Sastre              Genasys II Spain, S.A.U.
Mobile Location Systems IT SysAdmin    Ventura de la Vega, 5.
Phone: +34913649100 Fax: +34913649119    28014 Madrid. Spain.

SysAdmin: a mechanism for converting caffeine into web servers.


More information about the scponly mailing list