From 8f2a63b936ddf781c5b591d76108b11579485f39 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Sun, 23 Sep 2018 00:19:02 -0700 Subject: 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. --- pinyadmin/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pinyadmin/Makefile') 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 -- cgit v1.2.3