I created a new user account, but the user is prompted to change their password on first login. I don't want them to change their password, I want them to use the password they were assigned. How do I change their account so they aren't prompted to change their password when they log in?

  • Please include the exact command (you can change the username and password ;) used to create the user. – terdon Oct 10 '13 at 17:33
  • The user account was created by a program, not a standard Linux command. :( – Scott Oct 10 '13 at 17:46

This should be default behavior, so you may be doing something at user creation that is causing the prompt to happen. Prompting at next login is usually done by chage -d0 <userName>. There are third party PAM modules that may not do this, but that's out of the scope of what I have knowledge about.

You may want to post the specific steps you're going through to create a user.

  • 1
    Thanks. I used chage -d 1000 <username>. – Scott Oct 10 '13 at 17:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.