mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
allow chsh without password
This commit is contained in:
parent
fe3fc94525
commit
97930d3051
1 changed files with 2 additions and 2 deletions
|
|
@ -33,8 +33,8 @@ export PATH=\"$PATH\"
|
||||||
" ~/.zshrc
|
" ~/.zshrc
|
||||||
|
|
||||||
echo "\033[0;34mTime to change your default shell to zsh!\033[0m"
|
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
|
sudo chsh -s `which zsh` $USER
|
||||||
chsh -s `which zsh`
|
|
||||||
|
|
||||||
echo "\033[0;32m"' __ __ '"\033[0m"
|
echo "\033[0;32m"' __ __ '"\033[0m"
|
||||||
echo "\033[0;32m"' ____ / /_ ____ ___ __ __ ____ _____/ /_ '"\033[0m"
|
echo "\033[0;32m"' ____ / /_ ____ ___ __ __ ____ _____/ /_ '"\033[0m"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue