summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pw.8
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2004-01-11 18:28:08 +0000
committeriedowse <iedowse@FreeBSD.org>2004-01-11 18:28:08 +0000
commit94e2d83c186d4afb92d60f40368db9f892fd7bcc (patch)
tree64915f17da25aadaec343a44b5be3a90afa35f25 /usr.sbin/pw/pw.8
parent7cefb3fd899f3524b428658034b0b4afe67e6b03 (diff)
downloadFreeBSD-src-94e2d83c186d4afb92d60f40368db9f892fd7bcc.zip
FreeBSD-src-94e2d83c186d4afb92d60f40368db9f892fd7bcc.tar.gz
Add a `-H <fd>' option that is like `-h <fd>', but accepts an already
encrypted password on the specified file descriptor. PR: bin/22033 MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/pw/pw.8')
-rw-r--r--usr.sbin/pw/pw.816
1 files changed, 11 insertions, 5 deletions
diff --git a/usr.sbin/pw/pw.8 b/usr.sbin/pw/pw.8
index 068bd74..0220564 100644
--- a/usr.sbin/pw/pw.8
+++ b/usr.sbin/pw/pw.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 9, 1996
+.Dd January 11, 2004
.Dt PW 8
.Os
.Sh NAME
@@ -51,7 +51,7 @@
.Op Fl s Ar shell
.Op Fl o
.Op Fl L Ar class
-.Op Fl h Ar fd
+.Op Fl h Ar fd | Fl H Ar fd
.Op Fl N
.Op Fl P
.Op Fl Y
@@ -101,7 +101,7 @@
.Op Fl w Ar method
.Op Fl s Ar shell
.Op Fl L Ar class
-.Op Fl h Ar fd
+.Op Fl h Ar fd | Fl H Ar fd
.Op Fl N
.Op Fl P
.Op Fl Y
@@ -130,7 +130,7 @@
.Op Fl g Ar gid
.Op Fl M Ar members
.Op Fl o
-.Op Fl h Ar fd
+.Op Fl h Ar fd | Fl H Ar fd
.Op Fl N
.Op Fl P
.Op Fl Y
@@ -152,7 +152,7 @@
.Op Fl l Ar name
.Op Fl M Ar members
.Op Fl m Ar newmembers
-.Op Fl h Ar fd
+.Op Fl h Ar fd | Fl H Ar fd
.Op Fl N
.Op Fl P
.Op Fl Y
@@ -508,6 +508,12 @@ is given as the argument
then the password will be set to
.Ql \&* ,
rendering the account inaccessible via password-based login.
+.It Fl H Ar fd
+Read an encrypted password string from the specified file descriptor.
+This is like
+.Fl h ,
+but the password should be supplied already encrypted in a form
+suitable for writing directly to the password database.
.El
.Pp
It is possible to use
OpenPOWER on IntegriCloud