1833768 Members
1892 Online
110063 Solutions
New Discussion

libpam error

 
SOLVED
Go to solution
simon_164
Super Advisor

libpam error

I am getting the error:
open_module: module /usr/lib/security/hpux32/libpam_hpsec.so.1 writeable by group.
when i am trying to log in and I am not being able to log in.
any help would be appreciated.
11 REPLIES 11
Mustafa Gulercan
Respected Contributor
Solution

Re: libpam error

hi;
Did you get the message when you attempt to login as root (or any other
user) from the CDE (Common Desktop Environment) login banner?

regards;
mustafa
simon_164
Super Advisor

Re: libpam error

the error happens when i try to telnet to the IP of the server, i tried also to connect from the console and I have the same problem.
Mustafa Gulercan
Respected Contributor

Re: libpam error

hi;
Set the following permissions to resolve your error:
/usr -----> 555 bin bin
/usr/lib/security -----> 555 bin bin
/usr/lib/security/hpux32/libpam_hpsec.so.1 -----> 555 root sys

regards;
mustafa
simon_164
Super Advisor

Re: libpam error

Can you be more specific ?
what do you mean by bin bin at the end of the set security ?
simon_164
Super Advisor

Re: libpam error

Well i have done the setting you required and still have the same problem.
nothing have changed, but i guess i am on the right track.
Sandman!
Honored Contributor

Re: libpam error

What kind of authentication are you using? Kerberos/LDAP/DCE??. Also what OS version is this and could you post the contents of the /etc/pam.conf file here.

thanks!
simon_164
Super Advisor

Re: libpam error

HP-UX 11.23 , I am using the default authentication since i did not change anything related to it.
Attached is the pam.conf file,
Sandman!
Honored Contributor

Re: libpam error

Are there any login related errors in the syslog file...post them here if any.
simon_164
Super Advisor

Re: libpam error

didn't check syslog yet, i will check it and log the errors.
But isn't it a strange problem ?
The system not asking me for a password.
I doubt something relating to PAM, however i tried once to boot without PAM, i mean i removed everything related to it and still i got the errors.

Mustafa Gulercan
Respected Contributor

Re: libpam error

hi Simon;
do following;

#chmod 555 /usr
#chown bin:bin /usr

#chmod 555 /usr/lib/security
#chown bin:bin /usr/lib/security

#chmod 755 /usr/lib/security/libpam_hpsec.so.1
#chown root:sys /usr/lib/security/libpam_hpsec.so.1

#chmod 555 /usr/lib/security/libpam_hpsec.1
#chown root:sys /usr/lib/security/libpam_hpsec.1

PS:tellme the path of libpam_hpsec.so.1;
is it under /usr/lib/security/hpux32/ or under /usr/lib/security/ ?

regards;
mustafa
simon_164
Super Advisor

Re: libpam error

the file is under hpux32 --->
/usr/lib/security/hpux32/libpam_hpsec.so.1

I have set the permissions on this file to be 555 , I will change it today to 755 and see what will happen.