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

How to display authenticated username on linux?

From: Xn Nooby <xnooby_at_gmail.com>
Date: 2006-04-21 15:30:41 CEST

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!
Received on Fri Apr 21 15:32:04 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.