ref: 40516da53ee0b73623079c2f9a1cbb3629f3a048
parent: 122667153e90ba68fd5cbf0d08bbe0d083030ede
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Feb 12 13:18:34 EST 2015
build and document auth/userpasswd
--- 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 @@
.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 @@
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
--- a/sys/src/cmd/auth/mkfile
+++ b/sys/src/cmd/auth/mkfile
@@ -33,6 +33,7 @@
rsafill\
rsagen\
uniq\
+ userpasswd\
warning\
wrkey\
--
⑨