Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change to pam.d/login clobbers printing

Status
Not open for further replies.

nolacoaches

IS-IT--Management
May 1, 2003
62
US
Ok, aficianados of the obscure:
I have a business system running on RedHat 6.5. I need to simplify the login passwords to be more like to NT Server passwords my users demand. I am very much a linux newbie. All printers on the linux server are network printers, some SMB, some Remote lpd queues. In order to force the password to stay the way I set it for new users, I made this change in the etc/pam.d/login file: on the password required pam_cracklib.so I added dcredit=0 ucredit=0 ocredit=0 lcredit=0 minlen=6 and made the same change in the etc/pam.d/passwd file. It seemed to work. I created a new user and when I signed in I did not have to create an obscure new password. However, printing stopped. Sending an ascii test page from printtool produced the error message lpr: connect: Connection refused
jobs queued, but cannot start daemon.

All the SMB printers print under the Administrator userid, so I reset that password, bounced lpd, rebooted, etcetera.

When I took out the dcredit, o,u,l and minlen changes on cracklib, printing started again. What's the connection and how to I fix this.



Never stay up on the barren heights of cleverness, but come down into the green valleys of silliness.
Ludwig Wittgenstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top