This has always bugged me, but I've never bothered to ask: If the purpose of adding this line is to execute rpm commands as root without a password, why do I have to enter a password (almost) every time I run ./ltib?
Douglas From: [email protected] [mailto:[email protected]] On Behalf Of Peter Barada Sent: Tuesday, March 06, 2012 8:50 AM To: [email protected] Subject: Re: [Ltib] Fwd: ltib installation problem On 03/06/2012 11:26 AM, Giuseppe wrote: Hi all, i'm trying to install LTIB for configure my kernel for imx53 QSB board. I want install ubuntu with driver for SIERRA SL8092 modem HSPA. I'm newbie. How i can do? thanks i have this error when i write./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 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 Giuseppe, you need to modify /etc/sudoers (run "sudo /usr/sbin/visudo") to allow you to run "/opt/ltib/user/bin/rpm" - it shows you can run "/opt/freescale/ltib/user/bin/rpm". Make that change and this error should go away... -- Peter Barada [email protected]<mailto:[email protected]>
_______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib
