summaryrefslogtreecommitdiffstats
path: root/usr.bin/keyinfo/keyinfo.1
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-08-10 22:53:49 +0000
committerimp <imp@FreeBSD.org>2000-08-10 22:53:49 +0000
commita0197881962d5923c553f55278bbad4a174d1ca8 (patch)
tree04cdc85cf41beb28b159739428c7a2491206ea39 /usr.bin/keyinfo/keyinfo.1
parent6c05154b7af6c0f9f67f10fa34be1aab93ca1793 (diff)
downloadFreeBSD-src-a0197881962d5923c553f55278bbad4a174d1ca8.zip
FreeBSD-src-a0197881962d5923c553f55278bbad4a174d1ca8.tar.gz
Eliminate the only setuid perl script in the tree.
Original 'C' progam submitted by Juriy Goloveshkin. A different 'C' program also submitted by dima. I merged and rewrote them to include error handling, use getlogin for user name and only the BSD boilerplate license remained from the original code. We also only allow root to get other user's keys. Review, bikeshed and bdelint(1): myself, kris, dima, markm
Diffstat (limited to 'usr.bin/keyinfo/keyinfo.1')
-rw-r--r--usr.bin/keyinfo/keyinfo.14
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/keyinfo/keyinfo.1 b/usr.bin/keyinfo/keyinfo.1
index 7750437..5fcae68 100644
--- a/usr.bin/keyinfo/keyinfo.1
+++ b/usr.bin/keyinfo/keyinfo.1
@@ -27,12 +27,13 @@ Usage example:
.sp 0
> keyinfo
.sp 0
- 0098 ws91340
+ 98 ws91340
.Sh ARGUMENTS
.Bl -tag -width indent
.It Ar username
The S/key user to display the information for. The default is
to display S/Key information on the user who invokes the command.
+Only the superuser can ask for another user's key information.
.El
.Sh DIAGNOSTICS
.Nm Keyinfo
@@ -51,3 +52,4 @@ Rewritten in Perl by
.el Joerg Wunsch
so it can be made setuid, and the S/Key keys file can be read-protected
from the users.
+Rewritten in C by Warner Losh.
OpenPOWER on IntegriCloud