LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-04-2008, 11:16 PM   #1
rohit83.ken
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:

Password:

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^@^@^@Påtd8<85>^A^@8õ^E^H8õ^E^HÔ^B ^@^@Ô^B^@^@^D^@^@^@^D^@^@^@Qåtd^@^@^@^@^@^@^@^@^@^ @^@^@^@^@^@^@^@^@^@^@^F^@^@^@^D^@^@^@/lib/ld-linux.so.2^@^@^D^@^@^@^P^@^@^@^A^@^@^@GNU^@^@^@^@^ @^B^@^@^@^F^@^@^@ ^@^@^@^@__gmon_start__^@libc.so.6^@_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/ld-linux.so.2^@^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
 
  


Reply


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 10:35 AM
Maximum User Privilege Crito General 4 08-09-2006 09:11 AM
User privilege to partition atlaika Ubuntu 3 04-03-2006 01:44 PM
Changing User Privilege question johnnygnote Linux - Software 6 11-13-2003 04:32 PM
Ulimit privilege for a user linuxfans Linux - General 3 04-16-2003 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:55 PM.

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