ref: 7e0c920fe3c96555c9dccefffe19476ac9525367
parent: 0ef9131b08333eacb54c61da793d5ee1acbb2c24
author: glenda <glenda@turku>
date: Tue Nov 27 09:16:10 EST 2012
passwd: improved message
--- a/sys/src/cmd/auth/changeuser.c
+++ b/sys/src/cmd/auth/changeuser.c
@@ -66,7 +66,7 @@
t = getexpiration(f->keys, u);
install(f->keys, u, key, t, newkey);
if(dosecret && setsecret(KEYDB, u, p9pass) == 0)
- error("error writing Inferno/pop secret");
+ error("error writing Inferno/POP secret");
newbio = querybio(f->who, u, &a);
if(newbio)
wrbio(f->who, &a);
--- a/sys/src/cmd/auth/passwd.c
+++ b/sys/src/cmd/auth/passwd.c
@@ -105,10 +105,10 @@
continue;
}
}
- readln("change Inferno/POP password? (y/n) ", buf, sizeof buf, 0);
+ readln("Change general-purpose password?\n(for Inferno, POP, VNC, Telnet and others) (y/n) ", buf, sizeof buf, 0);
if(*buf == 'y' || *buf == 'Y'){
pr.changesecret = 1;
- readln("make it the same as your plan 9 password? (y/n) ",
+ readln("Make it the same as your plan 9 password? (y/n) ",
buf, sizeof buf, 0);
if(*buf == 'y' || *buf == 'Y'){
if(*pr.new == 0)