On Nov 19, 2012, at 8:46 AM, jb wrote:
> Eitan Adler eitanadler.com> writes:
>
>>
>> On 18 November 2012 18:44, Mateusz Guzik 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.
>
> /res
On 18 November 2012 18:32, Eitan Adler wrote:
> Hey,
>
> at the moment the current default csh prompt looks like
>
> user@hostname:directory% command
>
> This leads to an unexpected[*] result when using su (without "-").
>
> In particular the user part is *not* changed to "root" (or "toor" or
> an
On Mon, Nov 19, 2012 at 10:45:35AM -0500, Eitan Adler wrote:
> On 18 November 2012 18:44, Mateusz Guzik 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 functi
Eitan Adler eitanadler.com> writes:
>
> On 18 November 2012 18:44, Mateusz Guzik 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.
/rescue/id
jb
On 18 November 2012 18:44, Mateusz Guzik 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
_
On Sun, Nov 18, 2012 at 06:32:20PM -0500, Eitan Adler wrote:
> Hey,
>
> at the moment the current default csh prompt looks like
>
> user@hostname:directory% command
>
> This leads to an unexpected[*] result when using su (without "-").
>
> In particular the user part is *not* changed to "root"
Hey,
at the moment the current default csh prompt looks like
user@hostname:directory% command
This leads to an unexpected[*] result when using su (without "-").
In particular the user part is *not* changed to "root" (or "toor" or
any other superuser indication) although the promptchar is change