Can you force new users to change their passwords?

8 posts / 0 new
Last post
#1 Thu, 05/21/2009 - 17:06
jahlewis

Can you force new users to change their passwords?

Is it possible to require new users to change their passwords on their first login?

Thu, 05/21/2009 - 17:19
andreychek

Howdy,

I think you can accomplish that by going into Webmin -> Webmin -> Webmin Users -> Password Restrictions -- and then set "Days before password must be changed" to something like "0".

Here's the problem there though --

Not all SSH/FTP clients handle password changes, and I don't believe any email client can remotely set the password when using standard IMAP or POP.

So in some many cases, the user is going to have to log into either Virtualmin or Usermin to actually change the password.

If you're okay with those gotchas, then go for it! :-)
-Eric

Thu, 05/21/2009 - 17:22 (Reply to #2)
Joe
Joe's picture

<div class='quote'>I think you can accomplish that by going into Webmin -&gt; Webmin -&gt; Webmin Users -&gt; Password Restrictions -- and then set &quot;Days before password must be changed&quot; to something like &quot;0&quot;.</div>

I believe that would require changing the password every time they login. ;-)

--

Check out the forum guidelines!

Thu, 05/21/2009 - 17:34 (Reply to #3)
andreychek

<div class='quote'>I believe that would require changing the password every time they login. ;-)</div>

Well, goodness, that's undesirable :-)

I'm under the impression that you can force a user to change their password upon the next login by running &quot;chage -d 0 USERNAME&quot; from the command line.

But, I haven't tested that, nor do I know how to accomplish that within Webmin :-)
-Eric

Thu, 05/21/2009 - 17:44 (Reply to #4)
Joe
Joe's picture

Hehehe...I think what we've discovered here is that nobody really knows how to accomplish this, me least of all. ;-)

--

Check out the forum guidelines!

Thu, 05/21/2009 - 17:46
jahlewis

Thanks guys... As I'm coming up to speed with virtualmin, its nice to know I can ask some questions that don't have RTFM answers...

Thu, 05/21/2009 - 17:59 (Reply to #6)
Joe
Joe's picture

We're always happy to provide misleading and incorrect answers. ;-)

--

Check out the forum guidelines!

Mon, 05/25/2009 - 08:16
CoronelN

There is an option Force change at next login in webmin users

however my users report that they are not allowed lol....

Topic locked