[Bug 275222] 14.0-RELEASE su gives root to all users without requesting a password

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 21 Nov 2023 05:42:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275222

Daniel Tameling <tamelingdaniel@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tamelingdaniel@gmail.com

--- Comment #3 from Daniel Tameling <tamelingdaniel@gmail.com> ---
When I upgraded there was a merge conflict for /etc/master.passwd. I had to
keep the line for root from the old install as that had the password. The new
line is the default without one:
  root::0:0::0:0:Charlie &:/root:/bin/sh
The password is the second column and it is empty and the man page says "If the
password field is empty, no password will be required to gain access to the
machine."
Did something similar happen for you and you used the new file?

-- 
You are receiving this mail because:
You are the assignee for the bug.