From: Culley Harrelson <culley@fastmail.fm>
To: zsh-users@sunsite.dk
Subject: su -m on os x
Date: Fri, 16 Jan 2004 16:17:14 -0800 [thread overview]
Message-ID: <8026787E-4882-11D8-80B7-000A9591EB8C@fastmail.fm> (raw)
In bash I was used to using su -m to preserve my environment but I am
having trouble with this on os x:
su: /usr/local/bin/zsh -l: No such file or directory
reading the su man page:
As a security
precaution, if the target user's shell is a non-standard shell
(as defined by getusershell(3)) and the caller's real uid is non-
zero, su will fail.
I have tried adding /usr/local/bin/zsh to /etc/shells but I guess os x
is looking elsewhere. Anyone have this set up properly?
I know I should be using sudo but... bleh, too much typing sometimes!
culley
next reply other threads:[~2004-01-17 0:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-17 0:17 Culley Harrelson [this message]
2004-01-17 3:53 ` Bart Schaefer
2004-01-17 13:22 ` Aidan Kehoe
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=8026787E-4882-11D8-80B7-000A9591EB8C@fastmail.fm \
--to=culley@fastmail.fm \
--cc=zsh-users@sunsite.dk \
/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).