summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglenda <glenda@turku>2012-11-27 14:16:10 +0000
committerglenda <glenda@turku>2012-11-27 14:16:10 +0000
commit7e0c920fe3c96555c9dccefffe19476ac9525367 (patch)
treee72dbf3c915b209f864e91f8069dea9e8cd88a4f
parent0ef9131b08333eacb54c61da793d5ee1acbb2c24 (diff)
downloadplan9front-7e0c920fe3c96555c9dccefffe19476ac9525367.tar.xz
passwd: improved message
-rw-r--r--sys/src/cmd/auth/changeuser.c2
-rw-r--r--sys/src/cmd/auth/passwd.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/src/cmd/auth/changeuser.c b/sys/src/cmd/auth/changeuser.c
index 71a59fc03..433c410f5 100644
--- a/sys/src/cmd/auth/changeuser.c
+++ b/sys/src/cmd/auth/changeuser.c
@@ -66,7 +66,7 @@ main(int argc, char *argv[])
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);
diff --git a/sys/src/cmd/auth/passwd.c b/sys/src/cmd/auth/passwd.c
index cd9c98572..151545d0c 100644
--- a/sys/src/cmd/auth/passwd.c
+++ b/sys/src/cmd/auth/passwd.c
@@ -105,10 +105,10 @@ main(int argc, char **argv)
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)