Operating System - HP-UX
1834459 Members
2859 Online
110067 Solutions
New Discussion

Re: how to disable pam on 11x server?

 
Hanry Zhou
Super Advisor

how to disable pam on 11x server?

We want to use the mechanism on 10.20 server using /usr/bin/passwd.

Thanks,
none
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: how to disable pam on 11x server?

I would suggest using NIS, with the 10.20 server as the Master server.

That might work, but I've no idea.

HP 11 needs pam to properly authenticate logins.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Hanry Zhou
Super Advisor

Re: how to disable pam on 11x server?

Sep,

For some reasons we don't want to use the authentication on 11x box, and don't wan tot use nis.

10.20 uses /usr/bin/passwd, that is what we want.

I found a thread in knowledge base. It says to add nowan to disable pam. but this is not working. I think that "nowarn" only turn off pam error messages, but not disable pam.

none
Karthik S S
Honored Contributor

Re: how to disable pam on 11x server?

Hi,

I think it is possible to disable PAM for authentication if you are using Secure Shell.

Refer:
http://docs.hp.com/hpux/onlinedocs/T1471-90010/00/00/13-con.html

http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Patrick Wallek
Honored Contributor

Re: how to disable pam on 11x server?

I don't think you can disable PAM. PAM still used the passwd commands. For exact configuration have a look at /etc/pam.conf. You will notice that it calls libpam_unix.1 for its authentication routine. That in turn I believe calls the passwd routines. So you are still using those even though PAM is installed.

For more information on what libpam_unix does have a look at the pam_unix man page.

# man pam_unix
Hanry Zhou
Super Advisor

Re: how to disable pam on 11x server?

Patrick,

I've already tested, the pam will use its own function to manage /etc/ppasswd (any changes, aging, etc.), not use /usr/bin/passwd. I want the system to specificly invoke /usr/bin/passwd ONLY as 10.20 does.

none
Hanry Zhou
Super Advisor

Re: how to disable pam on 11x server?

Karthik,

I added "UsePAM no", but not working.

Thanks,
none
Patrick Wallek
Honored Contributor

Re: how to disable pam on 11x server?

I guess my biggest question at this point is "WHY?"

What are you trying to accomplish by going backwards?

As said above, I don't think you can disable PAM. I think what you want to do is not possible.