据我所知,root的默认外壳已配置csh,普通用户的默认外壳sh在 FreeBSD 中。在 Ubuntu 中,root是dash,普通用户是bash。(参考:https : //serverfault.com/questions/239535/whats-the-ubuntus-default-shell/239537#239537)
root
csh
sh
dash
bash
为什么它们的配置不同?
shell freebsd security users ubuntu
freebsd ×1
security ×1
shell ×1
ubuntu ×1
users ×1