NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/41993: Word missing in skeyinfo(1) error message



>Number:         41993
>Category:       bin
>Synopsis:       Word missing in skeyinfo(1) error message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 05 00:10:00 +0000 2009
>Originator:     Bug Hunting
>Release:        5.99.16
>Organization:
>Environment:
>Description:
A word is missing in a skeyinfo(1) error message.
>How-To-Repeat:
As a non-superuser, execute "skeyinfo <otheruser>".
>Fix:
Apply the following patch:

$ cd /usr/src.current/usr.bin/skeyinfo/; cvs diff -u skeyinfo.c
Index: skeyinfo.c
===================================================================
RCS file: /cvsroot/src/usr.bin/skeyinfo/skeyinfo.c,v
retrieving revision 1.5
diff -u -r1.5 skeyinfo.c
--- skeyinfo.c  28 Apr 2008 20:24:15 -0000      1.5
+++ skeyinfo.c  5 Sep 2009 00:03:04 -0000
@@ -66,7 +66,7 @@
        else if (!uid)
                pw = getpwnam(argv[0]);
        else
-               errx(1, "permission denied to look other users skeys");
+               errx(1, "permission denied to look at other users skeys");

        if (!pw) {
                if (argc)



Home | Main Index | Thread Index | Old Index