ServerTune

Browse by category

Search    |    Advanced search

Deprecated pam_stack module called from service "sshd"

If you upgraded openssh to v5.x, and see/get the following error message in the /var/log/secure file:

Deprecated pam_stack module called from service "sshd"

Follow these steps to get rid of this error:

1. Using your favorite Linux editor such as vi, edit the file:/etc/pam.d/sshd

Replace these 4 directives:

auth 		required 	pam_stack.so service=system-auth
account 	required 	pam_stack.so service=system-auth
password 	required 	pam_stack.so service=system-auth
session 	required 	pam_stack.so service=system-auth

with

auth      include system-auth
account   include system-auth
password  include system-auth
session   include system-auth

2. Save the file and exit
3. Restart sshd daemon running the command: /sbin/service sshd restart

 
 
Add comment
 
Views: 2120
 
Votes: 0
 
Comments: 0
 

Other articles in this Category

RSS