Restricting user from changing password

From Notes_Wiki
Revision as of 04:45, 16 October 2014 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Server_administration_tips_and_tricks|Server administration tips and tricks</yambe:breadcrumb> =Restricting user from changing password= Sometimes on shared...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Server_administration_tips_and_tricks|Server administration tips and tricks</yambe:breadcrumb>

Restricting user from changing password

Sometimes on shared lab machines it may be desired to prevent users from changing passwords. To do so use:

chage -m 1000 <username>

This would prevent user from changing his/her password for next 1000 days.