Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have box at school that is being used by students to do labs. With new accounts I issue them a passwd and then use chage to set the passwd expiration date to a past date so that when they login they have to change their passwd.
I setup a new box today with some new user and when I tried to login with a dummy account I got this error when I tried to login...
Yes, yes...but when you login it asks for a new password and then after entering the passwd for the first time (it's ask you again to confirm) the user is dropped.
This is suppose to be a trick that you can use so you can issue a passwd to a user and then when they login they have to enter a new passwd. This has worked for me in the past on a different box.
Hmm. Can you tell us if you're working with different Sshd versions? I've read sshd->pam is a wee bit b0rken in v3.x
Btw, did you try a diff between the /etc/pam.d dirs?
I'm using open-ssh-3.4 on my box and my users putty to login. Mmm....broken you say? Would you indulge me further and explain what you mean by the second part of your question?
I just wanted to know if both your /etc/pam.d tree's where different, that's all. Btw, did you try verbose logging? Modules in the stack usually will take "debug" as argument.
Another clarification: I *thought* I read some stuff on a mailinglist a while ago about some interaction between Sshd and PAM being b0rken (PAM side), can't remember tho what it exactly was except it was some really minor glitch.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.