Le dimanche 30 mai 2010 17:39:36, Bret S. Lambert a icrit : > On Sun, May 30, 2010 at 05:22:22PM +0200, Jean-Francois wrote: > > Hi, > > > > I am using sftp server with a chroot with following lines in sshd > > configuration file. The same works for my actual server in 4.4 OpenBSD > > but I just freshly installed a 4.7 one and on it the sftp login fails > > (it works without chroot). > > > > Match group web > > > > ChrootDirectory /var/www/htdocs > > ForceCommand internal-sftp > > > > Any idea what I get wrong ? > > $ grep web /etc/group > $ grep www /etc/group > www:*:67: > $
web is a group and also a user in my OS. # grep web /etc/group wheel:*:0:root,admin,web web:*:1001:web