On Friday, November 1, 2019 12:57:51 PM EDT Samuel Sieb wrote:
On 11/1/19 9:38 AM, Garry Williams wrote:
> When did this start?
>
> garry@ifr$ sudo passwd ppatel
> Changing password for user ppatel.
Have you changed your sudo settings? Why didn't it ask for your
user password?
Because just before that I typed sudo useradd ... and gave the
password.
> The root user cannot set whatever password he wants on his
> machine? Since when?
You don't say what Fedora version you are running. This doesn't
happen for me on F30. I get the warnings about short or otherwise
bad passwords, but it lets it happen anyway.
Oops, sorry. Yes, upgraded a week or two ago to F31. And yes, I used
to get warnings as well.
> to force it to be changed. For the new user, enforcing
password
> complexity is, I guess, OK. But for root? And why bail after
> three tries to get a compliant password? That seems capricious
> (not to mention irritating) to me.
3 retries is the usual thing.
But for choosing a new password? Please. What on earth does that
accomplish?
--
Garry T. Williams