Setting up a shared repository for users with no shell login

alex mitchell cnmmai at nus.edu.sg
Wed Jan 30 09:56:42 GMT 2008


Thanks for the reply. I don't want to use ftp, for the reason you mentioned.
I considered using chrooted sftp, either using rssh or scponly, but both of
these failed to run properly. bzr serve sounds promising, but does it
provide access control?

thanks,
Alex


On 1/30/08 4:17 PM, "Sabin Iacob" <iacobs at m0n5t3r.info> wrote:

> alex mitchell wrote:
>> I apologize if this is a FAQ, but I haven't been able to find this in the
>> docs.
>> 
>> What I'd like to do is set up my shared repository on an Ubuntu-based
>> server, and let my project team use bzr to push/pull/commit files to/from
>> the repository. However, I don't want them to be able to log in and browse
>> around and execute commands in the filesystem using ssh or sftp.
>> 
>> Is there any way to do this? I've tried restricting login by setting the
>> users' shell to /bin/false, which stops the users from logging in, but this
>> also blocks bzr from connecting using sftp. Can I block users from logging
>> in, but still allow bzr to have access to read/write to the files within the
>> repository?
>>   
> 
> 
> bzr serve would be one way
> ftp would be another, if you are in a controlled environment (I wouldn't
> want plain text anything over the internet)
> 




More information about the bazaar mailing list