xref: /openbsd/usr.bin/skeyinfo/skeyinfo.1 (revision 09467b48)
1.\" $OpenBSD: skeyinfo.1,v 1.11 2015/02/28 21:51:56 bentley Exp $
2.\"
3.Dd $Mdocdate: February 28 2015 $
4.Dt SKEYINFO 1
5.Os
6.Sh NAME
7.Nm skeyinfo
8.Nd obtain the next S/Key challenge for a user
9.Sh SYNOPSIS
10.Nm skeyinfo
11.Op Fl v
12.Op Ar user
13.Sh DESCRIPTION
14.Nm
15prints out the next S/Key challenge for the specified user or for the
16current user if no user is specified.
17.Pp
18The options are as follows:
19.Bl -tag -width Ds
20.It Fl v
21Print the hash algorithm as well.
22.El
23.Sh FILES
24.Bl -tag -width /etc/skey
25.It Pa /etc/skey
26directory containing user entries for S/Key
27.El
28.Sh EXAMPLES
29.Dl $ skey -n <number of passwords to print> `skeyinfo` | lpr
30.Pp
31This would print out a list of S/Key passwords for use over
32an untrusted network (perhaps for use at a conference).
33.Sh DIAGNOSTICS
34.Bl -tag -width Ds
35.It cannot open /etc/skey/user
36The user does not have an entry in
37.Pa /etc/skey
38or access to the S/Key database has been disabled.
39The database can be enabled with the
40.Xr skeyinit 1
41program.
42.It user is not listed in /etc/skey
43The S/Key database is enabled but the user does not have an entry in it.
44The
45.Xr skeyinit 1
46program can be used to create an entry for the user.
47.El
48.Sh SEE ALSO
49.Xr skey 1 ,
50.Xr skeyinit 1
51