|
楼主 |
发表于 2014-7-1 12:54:59
|
显示全部楼层
I ran the command: sudo -S -l which returned:
Matching Defaults entries for yfzx on this host:
env_reset,
secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
User yfzx may run the following commands on this host:
(root) NOPASSWD: /bin/rpm, (root) /opt/freescale/ltib/usr/bin/rpm
(ALL : ALL) ALL
This means you don't have sudo permission to execute rpm commands as root
without a password. This is needed for this build script to operate correctly.
To configure this, as root using the command "/usr/sbin/visudo",
and add the following line in the User privilege section:
yfzx ALL = NOPASSWD: /usr/bin/rpm, /opt/freescale/ltib/usr/bin/rpm
traceback:
main::check_sudo_setup:2467
main::host_checks:1413
main:554
Started: Mon Jun 30 21:23:13 2014
Ended: Mon Jun 30 21:23:13 2014
Elapsed: 0 seconds
Build Failed
Exiting on error or interrupt |
|