Is it possible to change strict requirements for user passwords, including root, e.g. I'd like not include numbers in the password as required, since this is a home machine, and I'm the only user?
1 Answer
On Solaris, password constraints can be configured by editing the /etc/default/password file , eg:
$ pfedit /etc/default/password ... MINDIGIT=0 ... - Thank you, it works. Is it a common practice to edit config files with pfedit then vi ?Mark– Mark2015-06-26 12:19:29 +00:00Commented Jun 26, 2015 at 12:19
- 2There is no need to use
pfeditthenvi, just one of these will do.pfeditwould be the best practice leveraging Solaris RABC and will use the configured editor for the user,viby default. If you are already logged as root, directly runningviwill obviously still work.jlliagre– jlliagre2015-06-26 12:26:02 +00:00Commented Jun 26, 2015 at 12:26