ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Fwd: ltib installation problem


From: Giuseppe Ventura
Subject: Re: [Ltib] Fwd: ltib installation problem
Date: Wed, 7 Mar 2012 22:01:43 +0100

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 specification
root    ALL=(ALL:ALL) ALL
giuseppe 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.d
giuseppe ALL = NOPASSWD: /usr/bin/rpm, /opt/freescale/ltib/usr/bin/rpm
---------------------------------------------------------------------------------------------------------------------------------

but there is always errors:

address@hidden:~/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 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:

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 2012
Ended:   Wed Mar  7 22:00:04 2012
Elapsed: 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.1
CVS_VERSION      : $Revision: 1.82 $ (Savannah)
PLATFORM         : 
GNUTARCH         : 
TOOLCHAIN        : 
TOOLCHAIN_CFLAGS : 


Build Failed

Exiting on error or interrupt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]