Setting up a shared repository for users with no shell login
Aaron Bentley
aaron at aaronbentley.com
Wed Jan 30 13:26:05 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
Instead of setting the shell to false, you can set up a restricted shell
that only allows sftp (or bzr) to be used.
http://linux.ucla.edu/manual/bash-2.05a/html_node/bashref_75.html
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHoHrs0F+nu1YWqI0RAo7wAJ9y7JR35XLdJ16PCxACu/ybPILZDgCfR53u
jA9imXp3/iTKvNafGhSLE4A=
=reej
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list