Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2012 10:45:35 -0500
From:      Eitan Adler <lists@eitanadler.com>
To:        Mateusz Guzik <mjguzik@gmail.com>, Eitan Adler <lists@eitanadler.com>,  freebsd-current Current <freebsd-current@freebsd.org>
Subject:   Re: prompt w/ uid 0 for cshrc
Message-ID:  <CAF6rxgnAb2oWPmhSMYtm-F1N4LFruyv3g3nhkPNp=X%2BnipCX3A@mail.gmail.com>
In-Reply-To: <20121118234426.GA16628@dft-labs.eu>
References:  <CAF6rxg=V4gbOKOfB%2BJ-fzxHDjqducd8C7d7f1Oxz-UxbquVKeg@mail.gmail.com> <20121118234426.GA16628@dft-labs.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 November 2012 18:44, Mateusz Guzik <mjguzik@gmail.com> wrote:
> Just take user name from id -nu.

While that does provide the $user value I want, id is in /usr/bin/
which may not be mounted.
Is there a builtin which provides similar functionality?



-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgnAb2oWPmhSMYtm-F1N4LFruyv3g3nhkPNp=X%2BnipCX3A>