From: jalexand@wlgore.com
To: Zoltan Hidvegi <hzoli@cs.elte.hu>
Cc: zsh-users@math.gatech.edu
Subject: RE: 3.1.4 and su
Date: Wed, 16 Sep 1998 01:59:34 -0400 (EDT) [thread overview]
Message-ID: <199809160559.BAA15876@copland.udel.edu> (raw)
In Reply to Your Message of Wed, 16 Sep 1998 00: 04:18 CDT
Date: Wed, 16 Sep 1998 01:59:37 -0400
From: Jerry Alexandratos <jalexand@wlgore.com>
Zoltan Hidvegi <hzoli@cs.elte.hu> says:
: > 3.1.4 automatically puts itself in "priveleged" state when UID and EUID
: > are not equivalent. That causes it to skip sourcing $HOME/.zshrc et. al.
: > 3.0.5 has no notion of "priveleged" and always sources the init files.
:
: 3.0.5 does have privileged mode, and it does skip user startup files when
: UID != EUID. Perhaps you confused this with restricted mode, which is
: new in 3.1.x.
I've checked these options. Here's some output as myself:
nomad[ 1:47AM] setopt
autopushd
nobeep
noclobber
histignoredups
interactive
interactivecomments
monitor
rmstarsilent
shinstdin
zle
nomad[ 1:47AM] echo $UID $EUID $GID $EGID
1000 1000 1000 1000
and now when I'm su'd:
# setopt
interactive
monitor
shinstdin
zle
# echo $UID $EUID $GID $EGID
0 0 0 0
and when I'm su'd and I source ~/.zshrc:
nomad# setopt
autopushd
nobeep
noclobber
histignoredups
interactive
interactivecomments
monitor
rmstarsilent
shinstdin
zle
nomad# echo $UID $EUID $GID $EGID
0 0 0 0
So I don't think it's a matter of priveleged or restricted options. 8(
And as I said earlier, this is the same .zshrc I was using for 3.0.5
Yeah, it's got me boggled too.
--Jerry
ps-While I'm at it, why does the time in the prompt have a space in it
now? (eg 3.1.4 => [ 1:47AM] while 3.0.5 => [1:47AM])
name: Jerry Alexandratos || Open-Source software isn't a
phone: 410.506.7544 || matter of life or death...
pager: 63246 || ...It's much more important
email: jalexand@wlgore.com || than that!
next reply other threads:[~1998-09-16 6:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-16 5:59 jalexand [this message]
1998-09-16 8:46 ` Peter Stephenson
-- strict thread matches above, loose matches on Subject: below --
1998-09-15 21:13 Jerry Alexandratos
1998-09-16 2:56 ` Bart Schaefer
1998-09-16 5:04 ` Zoltan Hidvegi
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=199809160559.BAA15876@copland.udel.edu \
--to=jalexand@wlgore.com \
--cc=hzoli@cs.elte.hu \
--cc=zsh-users@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).