[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Managing users

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: 2004-02-16 17:25:41 CET

"Justin Johnson" <justinjohnson@fastmail.fm> writes:

> run commands on the server. Is there a way to create users
> that can be used for svn only, but can't be used to login to
> the system and get a shell? Something like setting their shell
> to /dev/null?

You can limit the command a user authorized with a given key can
run. And you already have password authentication turned off,
right? You want something like this in the user's
authorized_keys files:

command="/usr/pkg/bin/svnserve -r /svn -t" ssh-rsa ...

See the sshd(8) man page for more info.

Eric Gillespie <*> epg@pretzelnet.org

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 16 17:26:00 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.