1834458 Members
3114 Online
110067 Solutions
New Discussion

PAM error

 
ViS_2
Frequent Advisor

PAM error

Hi!
I have trouble like this:

Jun 20 20:36:18 rtps1 rexecd[3095]: PAM Status - 9, PAM Error Message - Authentication failed
Jun 20 20:36:18 rtps1 rexecd[3096]: PAM Status - 9, PAM Error Message - Authentication failed
Jun 20 20:36:18 rtps1 rexecd[3097]: PAM Status - 9, PAM Error Message - Authentication failed
Jun 20 20:36:18 rtps1 rexecd[3098]: PAM Status - 9, PAM Error Message - Authentication failed
Jun 20 20:36:18 rtps1 rexecd[3099]: PAM Status - 9, PAM Error Message - Authentication failed
Jun 20 20:36:18 rtps1 rexecd[3100]: PAM Status - 9, PAM Error Message - Authentication failed
Jun 20 20:36:19 rtps1 rexecd[3101]: PAM Status - 9, PAM Error Message - Authentication failed
Jun 20 20:36:19 rtps1 rexecd[3102]: PAM Status - 9, PAM Error Message - Authentication failed
Jun 20 20:36:19 rtps1 rexecd[3103]: PAM Status - 9, PAM Error Message - Authentication failed
Jun 20 20:36:19 rtps1 rexecd[3104]: PAM Status - 9, PAM Error Message - Authentication failed
Jun 20 20:36:19 rtps1 rexecd[3106]: PAM Status - 9, PAM Error Message - Authentication failed
Jun 20 20:36:19 rtps1 rexecd[3108]: PAM Status - 9, PAM Error Message - Authentication failed

This started after changing root password.
The day before I've changed IP addresses on lan0 and lan1: lan1 had 10.11.36.82 and lan0 had nothing; now lan1 has 172.22.1.1 and lan0 has 10.11.36.82

lastb -R | head -1 shows something like this:
root rexecd 10.11.36.82 Tue Jun 21 13:49

hp-ux B.11.11 on rp2470
2 REPLIES 2
Eknath
Trusted Contributor

Re: PAM error

Hi,

Have a look at following URL
http://www.sans.org/resources/idfaq/pam.php

Cheers!!!
Eknath
rachelgomez_123
Advisor

Re: PAM error

For each PAM entry that you are troubleshooting, add the debug option.
For example, the following entries in the /etc/pam.d/cron file create debug output for the service.

account definitive pam_user_policy.so.1 debug
account required pam_unix_account.so.1 debug
Log PAM errors at the appropriate level and refresh the syslog daemon.
For details, see How to Log PAM Error Reports.

If the problem is a corrupt PAM configuration, do the following:
Run the application from one terminal window and modify the PAM configuration file in another window.
Verify that the errors are corrected by testing the changes in the application window.
If the problem is a corrupt PAM configuration that prevents login, boot into single-user mode, then correct the file, reboot, and test.
To boot a SPARC system, type the following command at the PROM prompt:
ok > boot -s
To boot an x86 system, add the –s option to the kernel options line in the GRUB menu.
For more information, see the boot(1M) and grub(5) man pages.

Verify that the errors are corrected.
Log in directly by using login or ssh. Test that regular users, privileged users, and roles can use the affected commands.

 

Regards,

Rachel Gomez