默认情况下scratchbox是不能用root来登录的,需要修改一下脚本
编辑 /scratchbox/login 中的函数 sanity_check中注释掉
if [ `id -u` = 0 ] ; thenexit_error "Not allowed to run this as root!"
fi
本文介绍如何修改Scratchbox配置以允许使用root用户登录。通过编辑login脚本并注释掉特定行,可以轻松实现这一目标。
默认情况下scratchbox是不能用root来登录的,需要修改一下脚本
编辑 /scratchbox/login 中的函数 sanity_check中注释掉
if [ `id -u` = 0 ] ; thenfi

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