https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287640

--- Comment #2 from Dan Anderson <[email protected]> ---
OK so I tried to reproduce this and I want to make sure I'm understanding.

You are suggesting that someone might want to change from use password-based
authentication to no, and the loop should go back to that, yes?

This looks like expected behavior.  In my src directory ./usr.sbin/adduser the
sh script has this line:
# if user entered a blank password                             
# explicitly ask again.                                        
[ -z "$upass$_passconfirm" ] && continue
;;
[Yy][Ee][Ss]|[Yy][Ee]|[Yy])
passwdtype="none"
break;

So that seems like this is expected behavior.  Changing it would simply involve
restructuring the loop.  There is a do while loop for use password based
authentication and an inner do-while loop for empty password.  Changing would
involve just removing the inner do-while loop I think.

I'm not sure who would make this decision?

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

Reply via email to