ref: b3a80d27885b0ae78a900cfa5f1e50db7bea85bf
parent: f8c773f960938dd3877f2acc64bbe4930199df5c
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)
--
⑨