[colug-432] best ID function
jeff.frontz at gmail.com
Mon May 13 12:47:39 EDT 2013
I use "id -un". Works on linux and MacOS (under ksh).
On Mon, May 13, 2013 at 11:58 AM, Rick Troth <rmt at casita.net> wrote:
> There must be two dozen ways to extract the username.
> I've coded two or three in the past. Before I do it again, what would
> y'all recommend?
> In this case, I need the username, not the UID.
> I'm writing a jail that will run another program for which the
> username is one of the arguments.
> -- R; <><
> colug-432 mailing list
> colug-432 at colug.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the colug-432