编译的ubuntu文件系统root root 无法登陆,user user可以登陆
不要把rootfs下的文件都chmod 777,如果提示权限不够相关文件chown root:root 即可
本文解决了一个特定的Ubuntu系统问题,即root用户无法登录的情况,同时提到了正确的文件权限设置方法,避免使用chmod777命令,而是应当将相关文件的拥有者设置为root。
编译的ubuntu文件系统root root 无法登陆,user user可以登陆
不要把rootfs下的文件都chmod 777,如果提示权限不够相关文件chown root:root 即可

被折叠的 条评论
为什么被折叠?