Thank you for the info on setuid programs. But i have another question.

If you look at the xcoff of a binary:
   openssh:

                           ***Loader Section***
                         Loader Header Information
   VERSION#         #SYMtableENT     #RELOCent        LENidSTR
   0x00000001       0x000000c6       0x00000356       0x00000065

   #IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
   0x00000005       0x00003ab8       0x0000051f       0x00003b1d


                           ***Import File Strings***
   INDEX  PATH                          BASE                MEMBER
   0      /usr/lib:/lib:/usr/local/lib
   1                                    libc.a              shr.o
   2                                    libnsl.a            shr.o
   3                                    libcrypto.a         libcrypto.so
   4                                    libz.a              shr.o

   from the header, it contains the built-in libpath on where to search for
   the libraries needed. Now, using the ld command, is it possible for me
   to change the Libpath to something like /usr/local/lib/:/usr/lib ?

   note that, the package is already installed. I know this is possible
   also by changing some parameters (i'm not really sure what or
   where-maybe someone can help me with that too -pushing my luck further)
   in the Makefile.

   Anybody knows any info? I know I could look-in to ld howtos but there's
   just too many option and too complex for someone who doesn't have a
   developer's skills =)

   Janethe T. Co
   Systems Services Representative - RS/6000
   IBM Global Services
   Tel. no: (632)995-2137
   Email address: [EMAIL PROTECTED]


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to