當使用 su username 從root切換用戶時顯示html
su: failed to execute /bin/bash: Permission denied
(也有人顯示的是su: /bin/bash: Permission denied)bash
此時使用
chmod 755 /.net
或code
chmod 755 /binhtm
再次嘗試切換便可(注:賦權通常使用root用戶)blog
其中具體原因可見https://blog.csdn.net/z50L2O08e2u4afToR9A/article/details/82504829get