hi, i reinstall all in home/ltib
I rewrite
sudoers:---------------------------------------------------------------------------------------------------------##
This file MUST be edited with the 'visudo' command as root.## Please consider
adding local content in /etc/sudoers.d/ instead of# directly modifying this
file.## See the man page for details on how to write a sudoers file.#Defaults
env_reset
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specificationroot ALL=(ALL:ALL) ALLgiuseppe ALL = NOPASSWD:
/usr/bin/rpm, /opt/freescale/ltib/usr/bin/rpm
# Members of the admin group may gain root privileges%admin ALL=(ALL) ALL
# Allow members of group sudo to execute any command%sudo ALL=(ALL:ALL) ALL
#includedir /etc/sudoers.dgiuseppe ALL = NOPASSWD: /usr/bin/rpm,
/opt/freescale/ltib/usr/bin/rpm---------------------------------------------------------------------------------------------------------------------------------
but there is always errors:
giuseppe@giuseppe-K53SV:~/ltib$ ./ltib
I ran the command: sudo -S -l which returned:
Matching Defaults entries for giuseppe on this host: env_reset
User giuseppe may run the following commands on this host: (root) NOPASSWD:
/usr/bin/rpm, (root) /opt/freescale/ltib/usr/bin/rpm (ALL) ALL (root)
NOPASSWD: /usr/bin/rpm, (root) /opt/freescale/ltib/usr/bin/rpm
This means you don't have sudo permission to execute rpm commands as
rootwithout 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:
giuseppe ALL = NOPASSWD: /usr/bin/rpm, /opt/ltib/usr/bin/rpm
traceback: main::check_sudo_setup:2584 main::host_checks:1489 main:559
Started: Wed Mar 7 22:00:04 2012Ended: Wed Mar 7 22:00:04 2012Elapsed: 0
seconds
Use of uninitialized value in concatenation (.) or string at ./ltib line
2856.Use of uninitialized value in concatenation (.) or string at ./ltib line
2856.Use of uninitialized value in concatenation (.) or string at ./ltib line
2856.Use of uninitialized value in concatenation (.) or string at ./ltib line
2856.VERSION : 11.4.1CVS_VERSION : $Revision: 1.82 $
(Savannah)PLATFORM : GNUTARCH : TOOLCHAIN :
TOOLCHAIN_CFLAGS :
Build Failed
Exiting on error or interrupt
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib