summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-02-12 18:18:34 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2015-02-12 18:18:34 +0100
commit92602d08d6cd5c9b4f04fbbcb9968161534d24e1 (patch)
tree199e6245f939fc46a278487fe57fa9cc4e686b9b
parent8b57e59ea93b7fc4f80c33bc1560b685f392ccc4 (diff)
downloadplan9front-92602d08d6cd5c9b4f04fbbcb9968161534d24e1.tar.xz
build and document auth/userpasswd
-rw-r--r--sys/man/4/factotum14
-rw-r--r--sys/src/cmd/auth/mkfile1
2 files changed, 14 insertions, 1 deletions
diff --git a/sys/man/4/factotum b/sys/man/4/factotum
index 731b1549a..6b5b9da9a 100644
--- a/sys/man/4/factotum
+++ b/sys/man/4/factotum
@@ -1,6 +1,6 @@
.TH FACTOTUM 4
.SH NAME
-factotum, fgui \- authentication agent
+factotum, fgui, userpasswd \- authentication agent
.SH SYNOPSIS
.B auth/factotum
[
@@ -23,6 +23,9 @@ factotum, fgui \- authentication agent
.B ...
.PP
.B auth/fgui
+.PP
+.B auth/userpasswd
+.I fmt
.SH DESCRIPTION
.I Factotum
is a user-level file system that
@@ -240,6 +243,15 @@ and
For each requests, it unhides itself and waits for
user input.
See the sections on key confirmation and key prompting below.
+.PP
+.I Userpasswd
+queries and prints a cleartext user/password pair from factotum
+for the
+.B proto=pass
+key tuple specified in
+.IR fmt .
+This can be used by shell scripts to do cleartext password
+authentication.
.SS "Key Tuples
.PP
A
diff --git a/sys/src/cmd/auth/mkfile b/sys/src/cmd/auth/mkfile
index 3df076a02..612f7b26f 100644
--- a/sys/src/cmd/auth/mkfile
+++ b/sys/src/cmd/auth/mkfile
@@ -33,6 +33,7 @@ TARG=\
rsafill\
rsagen\
uniq\
+ userpasswd\
warning\
wrkey\