Operating System - HP-UX
1832275 Members
1987 Online
110041 Solutions
New Discussion

su or exec login does not work

 
Lars Ebeling
Frequent Advisor

su or exec login does not work

Dear All,

I have the following problem:
# su - hobbit
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libdb-3.1.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
# exec login
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libdb-3.1.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

Regards
Lars Ebeling
7 REPLIES 7
Lars Ebeling
Frequent Advisor

Re: su or exec login does not work

Perhaps I should mention:
I am running HP-UX 11.11 on D-Class server.

Lars
RAC_1
Honored Contributor

Re: su or exec login does not work

Is not working for this account only? OR is it not working for all accounts. This way we can at aleast find out, if some user specific probem or not. (May be this user's profile has something that is causing it.)
There is no substitute to HARDWORK
Lars Ebeling
Frequent Advisor

Re: su or exec login does not work

I think it's for "all" accounts. I am able to login from the beginning, but when I want to change acount either with su or exec login, the problem is there

Lars
RAC_1
Honored Contributor

Re: su or exec login does not work

Do you get same error message for other accounts? Can you login directtly using those accounts? (not doing su - xyz or exec login)

Just plain telnet/ssh using that accounts directly.
There is no substitute to HARDWORK
Lars Ebeling
Frequent Advisor

Re: su or exec login does not work

Just plain telnet works. I have found out that I have /usr/local/bin/su and /usr/local/bin/login.

And also /usr/bin/su and /usr/bin/login

But su has worked all the time until today.

ldd gives that the files in /usr/local/bin use libdb3....

The files in /usr/bin works.

I am trying to get Cyrus-SASL to work
Lars
RAC_1
Honored Contributor

Re: su or exec login does not work

Whay su and login in /local being used? you should corect the $PATH variable so as to use /usr/bin/su and /usr/bin/login.
There is no substitute to HARDWORK
Lars Ebeling
Frequent Advisor

Re: su or exec login does not work

I found out that after I installed heimdal kerberos (from HP-UX porting archive) I had this problem.

Removing heimdal fixed the problem.

Lars