summaryrefslogtreecommitdiffstats
path: root/docs/manpages/pdbedit.8
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manpages/pdbedit.8')
-rw-r--r--docs/manpages/pdbedit.89
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/manpages/pdbedit.8 b/docs/manpages/pdbedit.8
index 01593b3f881..30fe63e4da5 100644
--- a/docs/manpages/pdbedit.8
+++ b/docs/manpages/pdbedit.8
@@ -8,7 +8,7 @@
pdbedit \- manage the SAM database
.SH SYNOPSIS
.sp
-\fBpdbedit\fR [ \fB-l\fR ] [ \fB-v\fR ] [ \fB-w\fR ] [ \fB-u username\fR ] [ \fB-f fullname\fR ] [ \fB-h homedir\fR ] [ \fB-d drive\fR ] [ \fB-s script\fR ] [ \fB-p profile\fR ] [ \fB-a\fR ] [ \fB-m\fR ] [ \fB-x\fR ] [ \fB-i file\fR ]
+\fBpdbedit\fR [ \fB-l\fR ] [ \fB-v\fR ] [ \fB-w\fR ] [ \fB-u username\fR ] [ \fB-f fullname\fR ] [ \fB-h homedir\fR ] [ \fB-d drive\fR ] [ \fB-s script\fR ] [ \fB-p profile\fR ] [ \fB-a\fR ] [ \fB-b\fR ] [ \fB-m\fR ] [ \fB-x\fR ] [ \fB-i file\fR ]
.SH "DESCRIPTION"
.PP
This tool is part of the Samba suite.
@@ -145,6 +145,13 @@ new password:
.sp
.fi
.TP
+\fB-b\fR
+This option causes pdbedit to read the password from standard
+input, rather than from \fI/dev/tty\fR.
+
+Example: \fBecho -e "secret\\nsecret\\n" | pdbedit -a -b -u sorce\fR
+.fi
+.TP
\fB-m\fR
This option may only be used in conjunction
with the \fI-a\fR option. It will make