要修改用戶的默認shell,可以使用chsh命令。具體步驟如下:
sudo chsh -s /path/to/new/shell username
請確保輸入正確的新shell路徑,并有足夠的權限來修改用戶的默認shell。