m33*_*lky 6 linux shell users ssh
当我以 root 身份 ssh 时,我的 shell 是bash,但是当它是非 root 用户时,它是sh. 我怎样才能让它们都使用bash?这实际上违背了这个问题的逻辑:为什么 root 的默认 shell 与其他普通用户帐户的默认 shell 配置不同?
bash
sh
Can*_*gir 5
请参阅man usermod。
man usermod
一个例子是sudo usermod -s /bin/bash username。
sudo usermod -s /bin/bash username
归档时间:
14 年,6 月 前
查看次数:
5463 次
最近记录:
6 年,6 月 前