zsh-workers
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier+lists/zsh/workers/news/@TEQUILA.SYSTEMSZ.CS.YALE.EDU>
To: zsh-workers@math.gatech.edu
Subject: Re: no $USER when root
Date: 21 Jun 1997 22:55:39 -0400	[thread overview]
Message-ID: <5len9vtkgk.fsf@tequila.systemsz.cs.yale.edu> (raw)
In-Reply-To: <199706211937.PAA01789@hzoli.home>

Zoltan Hidvegi <hzoli@ny.frontiercomm.net> writes:
> > Sorry is this is old news to you all, but I just realized that when I am  
> > logged in as root there is no $USER variable set.
> USER is not set by zsh, it should be set by login or su or xdm or whatever.

Also, IIRC, the official POSIX envvar for that is LOGNAME rather than USER.
Or am I blowing hot air ?


        Stefan


      reply	other threads:[~1997-06-22  2:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-21 19:30 Timothy J. Luoma
1997-06-21 19:37 ` Zoltan Hidvegi
1997-06-22  2:55   ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5len9vtkgk.fsf@tequila.systemsz.cs.yale.edu \
    --to=monnier+lists/zsh/workers/news/@tequila.systemsz.cs.yale.edu \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).