Difference between revisions of "Enforce Password Complexity on Solaris"
From Peter Pap's Technowiki
(Created page with "Edit the following file: /etc/default/passwd Follow the instructions in the file.") |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
Follow the instructions in the file. | Follow the instructions in the file. | ||
+ | |||
+ | '''NOTE:''' This will apply to '''ALL''' users, including '''root'''! As such, if you don't keep track of it, the root password may expire and result in cron jobs not running etc. You can unexpire root but doing: | ||
+ | |||
+ | passwd -x -1 root | ||
+ | |||
+ | This is however temporary! If you shoudl change the root password after running this command, it will reset the counter and it will expire again. |
Latest revision as of 23:43, 29 March 2015
Edit the following file:
/etc/default/passwd
Follow the instructions in the file.
NOTE: This will apply to ALL users, including root! As such, if you don't keep track of it, the root password may expire and result in cron jobs not running etc. You can unexpire root but doing:
passwd -x -1 root
This is however temporary! If you shoudl change the root password after running this command, it will reset the counter and it will expire again.