You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Xn Nooby <xn...@gmail.com> on 2006/04/21 13:30:41 UTC
How to display authenticated username on linux?
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" ?
thx!
Re: How to display authenticated username on linux?
Posted by Andy Levy <an...@gmail.com>.
On 4/21/06, Xn Nooby <xn...@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