默认情况下scratchbox是不能用root来登录的,需要修改一下脚本
编辑 /scratchbox/login 中的函数 sanity_check中注释掉
if [ `id -u` = 0 ] ; then
exit_error "Not allowed to run this as root!"
fi
这三行后就可以用root来登录了。
默认情况下scratchbox是不能用root来登录的,需要修改一下脚本
编辑 /scratchbox/login 中的函数 sanity_check中注释掉
if [ `id -u` = 0 ] ; then
exit_error "Not allowed to run this as root!"
fi
这三行后就可以用root来登录了。