Operating System - HP-UX
1833129 Members
4334 Online
110051 Solutions
New Discussion

Got error when run some proccess by sudoer file

 
Robin_45
Occasional Advisor

Got error when run some proccess by sudoer file

Dear all

ILibrary

have installed sudoer software in HP-UX os version is 11.i. i am planning to use the following command in visodu file:

test ALL = (debit,tabs) NOPASSWD:ALL

so that test user can run any command of debit by the following command

$visu -u debit name of process

but when i run this some application process through this command i have got the following error

blbilstg]test:/homes/tabs/bin>sudo -u debit CCLREC

/usr/lib/pa20_64/dld.sl: Unable to find library 'libclntsh.sl.9.0'.

Killed

can any one help me regarding this issue

Robin
1 REPLY 1
Rasheed Tamton
Honored Contributor

Re: Got error when run some proccess by sudoer file

Dear Robin,

Looks like the path for library (LD_LIBRARY_PATH & SHLIB_PATH) issue.

Do as root
#env|grep LIB

Note the libraries and export the library for the user. May be you have to export /usr/lib/pa20_64/ with the library path.

man sudo (refer to the part which details about library issues).

Look also
man chatr
man ldd