Saya mencoba menginstal Oh my zsh. Setelah menginstal zsh ( sudo apt-get update && sudo apt-get install -y zsh
)
Lalu saya instal
sudo apt-get install -y curl
kemudian instal git.
masalah terjadi ketika saya mencoba perintah ini.
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | bash
ini adalah log
sudo curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 146 100 146 0 0 91 0 0:00:01 0:00:01 --:--:-- 91
100 1779 100 1779 0 0 525 0 0:00:03 0:00:03 --:--:-- 1416
\033[0;34mCloning Oh My Zsh...\033[0m
Cloning into '/home/icom3/.oh-my-zsh'...
remote: Reusing existing pack: 10101, done.
remote: Total 10101 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (10101/10101), 1.92 MiB | 172.00 KiB/s, done.
Resolving deltas: 100% (5337/5337), done.
Checking connectivity... done.
\033[0;34mLooking for an existing zsh config...\033[0m
\033[0;33mFound ~/.zshrc.\033[0m \033[0;32mBacking up to ~/.zshrc.pre-oh-my-zsh\033[0m
\033[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc\033[0m
\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m
\033[0;34mTime to change your default shell to zsh!\033[0m
Password: chsh: PAM: Authentication failure
Apakah ada ide?
Perhatikan, bahwa saya sudah mencoba
sudo vim /etc/pam.d/chsh
lalu komentar auth diperlukan pam_shells.so. Namun, kesalahan masih terjadi.
curl
mencetak file ke stdout alih-alih menulis file sepertiwget
; Anda memerlukancurl -L ... > install.sh
pengalihan di akhir perintah.