From: "Bart Schaefer" <schaefer@brasslantern.com>
To: darkstar@udel.edu, zsh-users@math.gatech.edu
Subject: Re: 3.1.4 and su
Date: Tue, 15 Sep 1998 19:56:34 -0700 [thread overview]
Message-ID: <980915195634.ZM4983@candle.brasslantern.com> (raw)
In-Reply-To: <199809152113.RAA17938@dilbert.wlgore.com>
On Sep 15, 5:13pm, Jerry Alexandratos wrote:
} Subject: 3.1.4 and su
}
} I've been using 3.1.4 for a while now, and I'm finally getting around to
} asking this question.
}
} When I do a "su -m" my environment isn't kept. Of course this isn't a
} problem under 3.0.5.
Depending on how you installed 3.1.4, it could be the case that your
$SHELL is not listed in /etc/shells. That affects behavior of su -m.
It's also possible that the environment isn't kept under 3.0.5 either,
but that your init files are being sourced at startup of su -m in 3.0.5
yet are not sourced in 3.1.4.
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.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
next prev parent reply other threads:[~1998-09-16 3:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-15 21:13 Jerry Alexandratos
1998-09-16 2:56 ` Bart Schaefer [this message]
1998-09-16 5:04 ` Zoltan Hidvegi
1998-09-16 5:59 jalexand
1998-09-16 8:46 ` Peter Stephenson
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=980915195634.ZM4983@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=darkstar@udel.edu \
--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).