View Full Version : [ubuntu] LikeWise Open and Local Group

November 18th, 2009, 09:55 PM
I am trying to achieve a setup where remote users can upload files via sftp to our Ubuntu server. We can then pull these off via Samba file server to our local windows server via SMB. They remote users need to login with their active directory username/passwords.

So I have installed the following:

Like Wise Open 5
OpenSSH with Chroot and sftponly (as described in this thread):

Like Wise open 5 install went fine and so did the install and setup of openssh. However in the guide for openssh, there is a step where the user you want to limit chroot with needs to be added to a group. How can this be done with likewise open?

January 11th, 2010, 12:54 AM
It seems that if you manually add the user to the sftponly group in /etc/groups then it will works even though it may not show up when you list the groups of a particular user.


#sudo vi /etc/groups
then edit the sftponly group and add your users e.g.