documented the -v flag

This commit is contained in:
Todd C. Miller
1994-05-29 00:42:08 +00:00
parent d430425c5a
commit d194e3be59

View File

@@ -1,12 +1,12 @@
.TH SUDO 8 .TH SUDO 8
.SH NAME .SH NAME
sudo, visudo \- execute a command as the superuser and edit the suoders file sudo, visudo \- execute a command as the superuser and edit the sudoers file
.SH SYNOPSIS .SH SYNOPSIS
.B sudo .B sudo [-v]
.I command .I command
.sp .sp
.B visudo .B visudo [-v]
.SH DESCRIPTION .SH DESCRIPTION
.I Sudo .I Sudo
@@ -16,6 +16,9 @@ as the superuser.
.I Sudo .I Sudo
determines who is an authorized user by consulting the file determines who is an authorized user by consulting the file
.I /etc/sudoers. .I /etc/sudoers.
The
.I -v
flag will print the version of sudo/visudo you are running.
Sudo will prompt for a user's password to initiate a validation period Sudo will prompt for a user's password to initiate a validation period
of N minutes (where N is defined at installation time and defaults of N minutes (where N is defined at installation time and defaults
to 5 minutes). to 5 minutes).
@@ -208,5 +211,16 @@ There is no easy way to prevent a user from gaining a root shell if
that user has access to commands that are shell scripts or that that user has access to commands that are shell scripts or that
allow shell escapes. allow shell escapes.
.SH BUGS
The
.I -v
flag gives the version of the
.I sudo
package rather than the individual
.I sudo
or
.I visudo
program.
.SH SEE ALSO .SH SEE ALSO
su(1) su(1)