Bug 196113

Summary: Add warning to bsdinstall/scripts/rootpass that passwd(1) does not echo (patch included)
Product: Base System Reporter: Byron Grobe <grobe0ba>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Many People    
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Byron Grobe 2014-12-18 23:33:07 UTC
Add a warning to bsdinstall that states passwd(1) doesn't echo passwords to alleviate the worries of people that think it isn't responding.
Patch follows.

Index: rootpass
===================================================================
diff --git a/head/usr.sbin/bsdinstall/scripts/rootpass b/head/usr.sbin/bsdinstall/scripts/rootpass
--- a/head/usr.sbin/bsdinstall/scripts/rootpass (revision 275920)
+++ b/head/usr.sbin/bsdinstall/scripts/rootpass (working copy)
@@ -32,6 +32,7 @@
 echo

 echo "Please select a password for the system management account (root):"
+echo "The password you enter will not be visible."

 chroot $BSDINSTALL_CHROOT passwd root 2>&1
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-01-01 22:11:20 UTC
A commit references this bug:

Author: eadler
Date: Mon Jan  1 22:10:21 UTC 2018
New revision: 327474
URL: https://svnweb.freebsd.org/changeset/base/327474

Log:
  bsdinstall: inform users that typing will not be visible

  Some users, especially those that are new, might be confused when passwd
  does not echo anything. Inform users that the password will not be
  visible.

  PR:		196113
  Submitted by:	Byron Grobe <grobe0ba@gmail.com>

Changes:
  head/usr.sbin/bsdinstall/scripts/rootpass
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-03-15 09:31:28 UTC
A commit references this bug:

Author: eadler
Date: Thu Mar 15 09:30:39 UTC 2018
New revision: 330980
URL: https://svnweb.freebsd.org/changeset/base/330980

Log:
  MFC r327474:

  bsdinstall: inform users that typing will not be visible

  Some users, especially those that are new, might be confused when passwd
  does not echo anything. Inform users that the password will not be
  visible.

  PR:		196113

Changes:
_U  stable/11/
  stable/11/usr.sbin/bsdinstall/scripts/rootpass