diff options
author | Joe Rayhawk <jrayhawk@cobain.omgwallhack.org> | 2018-09-23 00:19:02 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@cobain.omgwallhack.org> | 2018-09-23 00:19:02 -0700 |
commit | 8f2a63b936ddf781c5b591d76108b11579485f39 (patch) | |
tree | 1773ca6e0ccc2b82af67f5579a01a0af735a4510 /pinyadmin/Makefile | |
parent | 77c04fb8f4eb0f061ac1d652f081f0a038e1803e (diff) | |
download | piny-code-8f2a63b936ddf781c5b591d76108b11579485f39.tar.gz piny-code-8f2a63b936ddf781c5b591d76108b11579485f39.zip |
pinyshell: use zsh and restrict read builtin
Along with rbash careening towards crazytown, rksh has some problematic
behavior around HISTFILE creation that forces us to use zsh. We are
additionally disabling the "read" builtin for extra safety. Other
builtins should maybe also be disabled in the future.
Diffstat (limited to 'pinyadmin/Makefile')
-rw-r--r-- | pinyadmin/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pinyadmin/Makefile b/pinyadmin/Makefile index 2f679e7..d49547c 100644 --- a/pinyadmin/Makefile +++ b/pinyadmin/Makefile @@ -6,6 +6,8 @@ install: install -o root -g root -m 755 -d $(DESTDIR)/usr/bin $(DESTDIR)/usr/sbin install -o root -g root -m 755 bin/* $(DESTDIR)/usr/bin install -o root -g root -m 755 sbin/* $(DESTDIR)/usr/sbin + mkdir -p $(DESTDIR)/usr/share/piny/zdotdir + install -o root -g root -m 755 zdotdir/zshenv $(DESTDIR)/usr/share/piny/zdotdir clean: rm -rf man |