~kris/9p

9hist

dc7e3e55b85998349221a6fe7db2edc9ab811c44 — David du Colombier 33 years ago fda9719
Plan 9 from Bell Labs 1993-03-31
1 files changed, 8 insertions(+), 0 deletions(-)

M boot/userpasswd.c
M boot/userpasswd.c => boot/userpasswd.c +8 -0
@@ 34,6 34,14 @@ userpasswd(int islocal, Method *mp)
		msg = checkkey(mp, username, hostkey);
		if(msg == 0)
			break;
		/* try the old key algorithm till everyone has switched */
		opasstokey(hostkey, password);
		msg = checkkey(mp, username, hostkey);
		if(msg == 0){
			print("You have an old style key.  Once you are up, please run 'aux/passwd'\n");
			print("and retype your key to convert.\n");
			break;
		}
		fprint(2, "?%s\n", msg);
		outin("user", username, sizeof(username));
	}