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

Re: How to display authenticated username on linux?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-04-21 16:11:19 CEST

On 4/21/06, Xn Nooby <xnooby@gmail.com> wrote:
> Hi,
>
> I'm trying to figure out how to diplay the currently authenticated username
> on a linux machine. I am setting up a bunch of linux boxes, and they all
> initially use the same user name. When a programmer gets a linux box, I
> will have them do a "svn ls" command with the "--username" option to make
> sure their username is cached. In order for them to check who's name is
> cached, I would like them to enter a command that will display who's
> username is the default subversion username. Currently the only way to
> check is to display the svn.simple file like this:
>
> cat /home/username/.subversion/auth/svn.simple
>
> Is there a more elegant way? Something line "svn whoami" ?

So you're deploying Linux boxes with the working copy already checked
out? Why? What if the developer wants it in a different location
(like a subdirectory off their home directory)?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 21 16:12:52 2006

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.