From 97930d305181ec6f5c623c360ec8371a129697fb Mon Sep 17 00:00:00 2001 From: Scott Miller Date: Sat, 5 Apr 2014 14:27:03 -0400 Subject: [PATCH] allow chsh without password --- tools/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/install.sh b/tools/install.sh index a32295eaa..5076658a7 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -33,8 +33,8 @@ export PATH=\"$PATH\" " ~/.zshrc echo "\033[0;34mTime to change your default shell to zsh!\033[0m" -sudo bash -c "echo "auth sufficient pam_wheel.so trust group=wheel" >> /etc/pam.d/chsh" #allows users in group "wheel" to chsh without password -chsh -s `which zsh` +sudo chsh -s `which zsh` $USER + echo "\033[0;32m"' __ __ '"\033[0m" echo "\033[0;32m"' ____ / /_ ____ ___ __ __ ____ _____/ /_ '"\033[0m"