Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-05-2008, 12:16 AM   #1
LQ Newbie
Registered: Dec 2007
Posts: 18

Rep: Reputation: 0
Smile installing LTIB problem and cant set the user privilege section

when I was installing Linux Target Image Builder(LTIB) I got the follwing errors

[rohith@sdalinar cwf]$ cd /home/rohith/cwf/ltib-mpc8555cds-20060124/

[rohith@sdalinar ltib-mpc8555cds-20060124]$ ./ltib

I ran the command: sudo -S -l which returned:


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:

rohith ALL = NOPASSWD: /bin/rpm, /opt/freescale/ltib/usr/bin/rpm

Started: Tue Feb 5 10:12:17 2008
Ended: Tue Feb 5 10:12:21 2008
Elapsed: 4 seconds

Build failures :
Abnormal exit : yes

Exiting on error or interrupt
and when I opened vi /usr/sbin/visudo

it shows like this

^?ELF^A^A^A^@^@^@^@^@^@^@^@^@^B^@^C^@^A^@^@^@p<94> ^D^H4^@^@^@,^A^@^@^@^@^@4^@ ^@^H^@(^@^^^@^]^@^F^@^@^@4^@^@^@4p^D^H4p^D^H^@^A^@^@^@^A^@^@^E^@^ @^@^D^@^@^@^C^@^@^@4^A^@^@4q^D^H4q^D^H^S^@^@^@^S^@ ^@^@^D^@^@^@^A^@^@^@^A^@^@^@^@^@^@^@^@p^D^H^@p^D^H ^L<93>^A^@^L<93>^A^@^E^@^@^@^@^P^@^@^A^@^@^@^L<93> ^A^@^L^S^F^H^L^S^F^H ^@^@^P+^@^@^F^@^@^@^@^P^@^@^B^@^@^@ <93>^A^@ ^S^F^H ^S^F^H^@^@^@^@^@^@^F^@^@^@^D^@^@^@^D^@^@^@H^A^@^ @Hq^D^HHq^D^H ^@^@^@ ^@^@^@^D^@^@^@^D^@^@^@Ptd8<85>^A^@8^E^H8^E^H^B ^@^@^B^@^@^D^@^@^@^D^@^@^@Qtd^@^@^@^@^@^@^@^@^@^ @^@^@^@^@^@^@^@^@^@^@^F^@^@^@^D^@^@^@/lib/^@^@^D^@^@^@^P^@^@^@^A^@^@^@GNU^@^@^@^@^ @^B^@^@^@^F^@^@^@ ^@^@^@^@__gmon_start__^^@_IO_stdin_used^ @lfind^@vasprintf^@__printf_chk^@execv^@_IO_putc^@ fopen^@strncmp^@optind^@strrchr^@__progname^@getpw uid^@fork^@warnx^@sigprocmask^@futimes^@unlink^@re alloc^@stdin^@_exit^@chmod^@rewind^@strtok^@isatty ^@fgetc^@strlen^@lockf^@sigemptyset^@warn^@__errno _location^@fseek^@getopt^@clearerr^@__fprintf_chk^ @sigaddset^@stdout^@fputc^@fputs^@memcpy^@fclose^@ __strtol_internal^@malloc^@strcasecmp^@getenv^@__c type_b_loc^@optarg^@stderr^@__snprintf_chk^@getuid ^@lsearch^@__fxstat^@fileno^@chown^@fwrite^@fread^ @gettimeofday^@sigaction^@rename^@waitpid^@strchr^ @__xstat^@errx^@_IO_getc^@strcmp^@__libc_start_mai n^@ferror^@sysconf^@free^@program_invocation_short _name^@__stack_chk_fail^@match^@used_runas^@sudo_d efs_table^@sudolineno^@yyout^@yyleng^@errorlineno^ @Argv^@yytext^@yychar^@clearaliases^@yyin^@quiet^@ yylval^@yynerrs^@parse_error^@pedantic^@sudo_user^ @Argc^@GLIBC_2.4^@GLIBC_2.1^@GLIBC_2.3^@GLIBC_2.3. 4^@GLIBC_2.0^@/lib/^@^P^@^@^@<9b><98><99>G'B^@^@^@^@^@^@^ @^@]^C^@^@<9b><98><99>GE^Oa^@^@^@^@^@^@^@^@t<8d>K^A^ @^@^@x<8d>K^A^@^@^@^A^@^@^@<80><8d>K^A^@^@^@ <84><8d>K^A^@^@^@^A^@^@^@<98><8d>K^A^@^@^@ <8d>
"/usr/sbin/visudo" [noeol][converted] 289L, 140965C

I was unable to add this line

rohith ALL = NOPASSWD: /bin/rpm, /opt/freescale/ltib/usr/bin/rpm
to the user privilege section , so where shall i add the above line

prethanks to helper


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Super user privilege pvpnguyen Linux - Security 4 02-01-2008 11:35 AM
Maximum User Privilege Crito General 4 08-09-2006 10:11 AM
User privilege to partition atlaika Ubuntu 3 04-03-2006 02:44 PM
Changing User Privilege question johnnygnote Linux - Software 6 11-13-2003 05:32 PM
Ulimit privilege for a user linuxfans Linux - General 3 04-16-2003 01:03 PM

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration