LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 866|回复: 0

谁能给一个可以root运行的vlc的slackware的tgz格式的包?

[复制链接]
发表于 2010-10-25 21:44:08 | 显示全部楼层 |阅读模式
把vlc源码的bin/vlc.c中如下代码注释掉就可以root运行了
if (geteuid () == 0)
    {
        fprintf (stderr, "VLC is not supposed to be run as root. Sorry.\n"
        "If you need to use real-time priorities and/or privileged TCP ports\n"
        "you can use %s-wrapper (make sure it is Set-UID root first and\n"
        "cannot be run by non-trusted users first).\n", ppsz_argv[0]);
        return 1;
    }

我编译总是失败,哪位大侠帮忙编译做一个tgz包?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表