diff options
author | Todd C. Miller <Todd.Miller@courtesan.com> | 1999-01-17 21:31:39 +0000 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@courtesan.com> | 1999-01-17 21:31:39 +0000 |
commit | bef6b5cdb05f344a6664034c0b3ea9547b9197db (patch) | |
tree | ffeec792696e35d4030d9bf6f4a02953b3039885 /visudo.cat | |
parent | 35f106f5ecf3d65d9d3d52d5c02d700ec236b159 (diff) | |
download | sudo-bef6b5cdb05f344a6664034c0b3ea9547b9197db.tar.gz |
regen based on sudo.pod, sudoers.pod, and visudo.pod
Diffstat (limited to 'visudo.cat')
-rw-r--r-- | visudo.cat | 198 |
1 files changed, 198 insertions, 0 deletions
diff --git a/visudo.cat b/visudo.cat new file mode 100644 index 000000000..1b1a390db --- /dev/null +++ b/visudo.cat @@ -0,0 +1,198 @@ + + + +visudo(8) MAINTENANCE COMMANDS visudo(8) + + +NNNNAAAAMMMMEEEE + visudo - edit the sudoers file + +SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS + vvvviiiissssuuuuddddoooo [ ----VVVV ] + +DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN + vvvviiiissssuuuuddddoooo edits the _s_u_d_o_e_r_s file in a safe fashion, analogous + to _v_i_p_w(8). vvvviiiissssuuuuddddoooo locks the _s_u_d_o_e_r_s file against + multiple simultaneous edits, provides basic sanity checks, + and checks for parse errors. If the _s_u_d_o_e_r_s file is + currently being edited you will receive a message to try + again later. In the default configuration, the _v_i(1) + editor is used, but there is a compile time option to + allow use of whatever editor the environment variables + EDITOR or VISUAL are set to. + + vvvviiiissssuuuuddddoooo parses the _s_u_d_o_e_r_s file after the edit and will not + save the changes if there is a syntax error. Upon finding + an error, a message will be printed stating the line + _n_u_m_b_e_r(s) that the error occurred on and the user will + receive the "What now?" prompt. At this point the user + may enter "e" to re-edit the _s_u_d_o_e_r_s file, enter "x" to + exit without saving the changes, or "Q" to quit and save + changes. The "Q" option should be used with extreme care + because if vvvviiiissssuuuuddddoooo believes there to be a parse error, so + will ssssuuuuddddoooo and no one will be able to execute ssssuuuuddddoooo again + until the error is fixed. Any other command at this + prompt will print a short help message. When editing the + _s_u_d_o_e_r_s file after a parse error has been detected the + cursor will be placed on the line where the error occurred + (if the editor supports this feature). + +OOOOPPPPTTTTIIIIOOOONNNNSSSS + vvvviiiissssuuuuddddoooo accepts the following command line option: + + -V The -V (version) option causes vvvviiiissssuuuuddddoooo to print the + version number and exit. + +EEEERRRRRRRROOOORRRRSSSS + sudoers file busy, try again later. + Either someone is currently editing the _s_u_d_o_e_r_s file + or there is a stale sudoers lock file (/etc/stmp by + default) that you need to delete. + + /etc/stmp: Permission denied + You didn't run vvvviiiissssuuuuddddoooo as root. + + Can't find you in the passwd database + Your userid does not appear in the passwd file. + +FFFFIIIILLLLEEEESSSS + /etc/sudoers file of authorized users. + /etc/stmp lock file for visudo. + + + +17/Oct/98 1.5.7 1 + + + + + +visudo(8) MAINTENANCE COMMANDS visudo(8) + + +EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT VVVVAAAARRRRIIIIAAAABBBBLLLLEEEESSSS + The following are used only if vvvviiiissssuuuuddddoooo was compiled with + the _E_N_V___E_D_I_T_O_R option: + + EDITOR Used by visudo as the editor to use. + VISUAL Used by visudo if EDITOR is not set. + + +AAAAUUUUTTTTHHHHOOOORRRR + Many people have worked on _s_u_d_o over the years, this + version of vvvviiiissssuuuuddddoooo was written by: + + Todd Miller <Todd.Miller@courtesan.com> + + See the HISTORY file in the sudo distribution for more + details. + + Please send all bugs, comments, and changes to sudo- + bugs@courtesan.com. + +DDDDIIIISSSSCCCCLLLLAAAAIIIIMMMMEEEERRRR + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public + License along with this program; if not, write to the Free + Software Foundation, Inc., 675 Mass Ave, Cambridge, MA + 02139, USA. + +CCCCAAAAVVVVEEEEAAAATTTTSSSS + Due to the syntax of the _s_u_d_o_e_r_s file, there is no way for + vvvviiiissssuuuuddddoooo to tell the difference between a mistyped + {Host,User,Cmnd}_Alias and a user or host name. + + There is no easy way to prevent a user from gaining a root + shell if the editor used by vvvviiiissssuuuuddddoooo allows shell escapes. + +BBBBUUUUGGGGSSSS + The _-_V flag gives the version of the _s_u_d_o package rather + than the individual vvvviiiissssuuuuddddoooo program. + +SSSSEEEEEEEE AAAALLLLSSSSOOOO + _s_u_d_o(8), _v_i_p_w(8). + + + + + + + + + + + +17/Oct/98 1.5.7 2 + + + + + +visudo(8) MAINTENANCE COMMANDS visudo(8) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +17/Oct/98 1.5.7 3 + + |