* su -m on os x
@ 2004-01-17 0:17 Culley Harrelson
2004-01-17 3:53 ` Bart Schaefer
2004-01-17 13:22 ` Aidan Kehoe
0 siblings, 2 replies; 3+ messages in thread
From: Culley Harrelson @ 2004-01-17 0:17 UTC (permalink / raw)
To: zsh-users
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-17 13:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-17 0:17 su -m on os x Culley Harrelson
2004-01-17 3:53 ` Bart Schaefer
2004-01-17 13:22 ` Aidan Kehoe
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).