summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/sudo/sudo.mdoc.in48
-rw-r--r--usr.bin/sudo/sudoers.mdoc.in4
-rw-r--r--usr.bin/sudo/visudo.mdoc.in4
3 files changed, 3 insertions, 53 deletions
diff --git a/usr.bin/sudo/sudo.mdoc.in b/usr.bin/sudo/sudo.mdoc.in
index 7739798a8df..c70ad591587 100644
--- a/usr.bin/sudo/sudo.mdoc.in
+++ b/usr.bin/sudo/sudo.mdoc.in
@@ -32,87 +32,39 @@
.Nm sudo
.Fl v
.Op Fl AknS
-.Bk -words
.Op Fl a Ar auth_type
-.Ek
-.Bk -words
.Op Fl g Ar group name No | Ar #gid
-.Ek
-.Bk -words
.Op Fl p Ar prompt
-.Ek
-.Bk -words
.Op Fl u Ar user name No | Ar #uid
-.Ek
.Nm sudo
.Fl l Ns Op Ar l
.Op Fl AknS
-.Bk -words
.Op Fl a Ar auth_type
-.Ek
-.Bk -words
.Op Fl g Ar group name No | Ar #gid
-.Ek
-.Bk -words
.Op Fl p Ar prompt
-.Ek
-.Bk -words
.Op Fl U Ar user name
-.Ek
-.Bk -words
.Op Fl u Ar user name No | Ar #uid
-.Ek
.Op Ar command
.Nm sudo
.Op Fl AbEHnPS
-.Bk -words
.Op Fl a Ar auth_type
-.Ek
-.Bk -words
.Op Fl C Ar fd
-.Ek
-.Bk -words
.Op Fl c Ar class No | Ar -
-.Ek
-.Bk -words
.Op Fl g Ar group name No | Ar #gid
-.Ek
-.Bk -words
.Op Fl p Ar prompt
-.Ek
-.Bk -words
.Op Fl u Ar user name No | Ar #uid
-.Ek
-.Bk -words
.Op Ar VAR Ns = Ns Ar value
-.Ek
-.Bk -words
.Fl i No | Fl s
-.Ek
.Op Ar command
.Nm sudoedit
.Op Fl AnS
-.Bk -words
.Op Fl a Ar auth_type
-.Ek
-.Bk -words
.Op Fl C Ar fd
-.Ek
-.Bk -words
.Op Fl c Ar class No | Ar -
-.Ek
-.Bk -words
.Op Fl g Ar group name No | Ar #gid
-.Ek
-.Bk -words
.Op Fl p Ar prompt
-.Ek
-.Bk -words
.Op Fl u Ar user name No | Ar #uid
-.Ek
-.Bk -words
file ...
-.Ek
.Sh DESCRIPTION
.Nm sudo
allows a permitted user to execute a
diff --git a/usr.bin/sudo/sudoers.mdoc.in b/usr.bin/sudo/sudoers.mdoc.in
index e9189cdcfa5..c21ac2f1da4 100644
--- a/usr.bin/sudo/sudoers.mdoc.in
+++ b/usr.bin/sudo/sudoers.mdoc.in
@@ -19,7 +19,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.Dd $Mdocdate: September 23 2013 $
+.Dd $Mdocdate: February 15 2014 $
.Dt SUDOERS @mansectform@
.Os
.Sh NAME
@@ -798,7 +798,7 @@ it must be
escaped.
For example:
.Bd -literal -offset 4n
-/bin/ls [[\:alpha\:]]*
+/bin/ls [[:\&alpha:\&]]*
.Ed
.Pp
Would match any file name beginning with a letter.
diff --git a/usr.bin/sudo/visudo.mdoc.in b/usr.bin/sudo/visudo.mdoc.in
index f29d3207918..fd0dbbb2ef9 100644
--- a/usr.bin/sudo/visudo.mdoc.in
+++ b/usr.bin/sudo/visudo.mdoc.in
@@ -19,7 +19,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.Dd $Mdocdate: August 17 2012 $
+.Dd $Mdocdate: February 15 2014 $
.Dt VISUDO @mansectsu@
.Os
.Sh NAME
@@ -28,9 +28,7 @@
.Sh SYNOPSIS
.Nm visudo
.Op Fl cqsV
-.Bk -words
.Op Fl f Ar sudoers
-.Ek
.Sh DESCRIPTION
.Nm visudo
edits the