]> git.lizzy.rs Git - plan9front.git/commitdiff
passwd: improved message
authorglenda <glenda@turku>
Tue, 27 Nov 2012 14:16:10 +0000 (14:16 +0000)
committerglenda <glenda@turku>
Tue, 27 Nov 2012 14:16:10 +0000 (14:16 +0000)
sys/src/cmd/auth/changeuser.c
sys/src/cmd/auth/passwd.c

index 71a59fc03c2ccd3064910061b416cd09ab7fc8eb..433c410f5a83bc1c1bf776706bca9c59682dfe65 100644 (file)
@@ -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);
index cd9c98572409441f4bff247a1f924154914c834b..151545d0c6d45b040bfef08bc573e7687e3bb516 100644 (file)
@@ -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)