现在的位置: 首页 > 综合 > 正文

关于在scratchbox中使用root账户登录

2013年12月01日 ⁄ 综合 ⁄ 共 153字 ⁄ 字号 评论关闭

默认情况下scratchbox是不能用root来登录的,需要修改一下脚本

编辑 /scratchbox/login  中的函数 sanity_check中注释掉

if [ `id -u` = 0 ] ; then
    exit_error "Not allowed to run this as root!"

fi

这三行后就可以用root来登录了。

抱歉!评论已关闭.