From: Todd C. Miller Date: Wed, 8 Sep 2004 18:35:53 +0000 (+0000) Subject: regen X-Git-Tag: SUDO_1_6_8p1~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e12b105f643610207bb9d8c4b7798c738f17965;p=sudo regen --- diff --git a/sudo.cat b/sudo.cat index 962daadac..7661b62b2 100644 --- a/sudo.cat +++ b/sudo.cat @@ -61,7 +61,7 @@ DDEESSCCRRIIPPTTIIOONN -1.6.8 September 6, 2004 1 +1.6.8 September 8, 2004 1 @@ -127,7 +127,7 @@ OOPPTTIIOONNSS -1.6.8 September 6, 2004 2 +1.6.8 September 8, 2004 2 @@ -178,22 +178,22 @@ SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) receive a warning and the edited copy will remain in a temporary file. - Please note that the editor used must make its changes - to the original file (really the original inode). If - the editor makes changes to a temporary file and then - just renames this to the original file name it will - not work with ssuuddooeeddiitt. - -h The --hh (_h_e_l_p) option causes ssuuddoo to print a usage mes­ sage and exit. -i The --ii (_s_i_m_u_l_a_t_e _i_n_i_t_i_a_l _l_o_g_i_n) option runs the shell specified in the passwd(4) entry of the user that the command is being run as. The command name argument + given to the shell begins with a - to tell the shell + to run as a login shell. ssuuddoo attempts to change to + that user's home directory before running the shell. + It also initializes the environment, leaving _T_E_R_M + unchanged, setting _H_O_M_E, _S_H_E_L_L, _U_S_E_R, _L_O_G_N_A_M_E, and + _P_A_T_H, and unsetting all other environment variables. -1.6.8 September 6, 2004 3 +1.6.8 September 8, 2004 3 @@ -202,12 +202,6 @@ SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) - given to the shell begins with a - to tell the shell - to run as a login shell. ssuuddoo attempts to change to - that user's home directory before running the shell. - It also initializes the environment, leaving _T_E_R_M - unchanged, setting _H_O_M_E, _S_H_E_L_L, _U_S_E_R, _L_O_G_N_A_M_E, and - _P_A_T_H, and unsetting all other environment variables. Note that because the shell to use is determined before the _s_u_d_o_e_r_s file is parsed, a _r_u_n_a_s___d_e_f_a_u_l_t setting in _s_u_d_o_e_r_s will specify the user to run the @@ -256,10 +250,16 @@ SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) the password database. -v If given the --vv (_v_a_l_i_d_a_t_e) option, ssuuddoo will update + the user's timestamp, prompting for the user's pass­ + word if necessary. This extends the ssuuddoo timeout for + another 5 minutes (or whatever the timeout is set to + in _s_u_d_o_e_r_s) but does not run a command. + + -- The ---- flag indicates that ssuuddoo should stop processing -1.6.8 September 6, 2004 4 +1.6.8 September 8, 2004 4 @@ -268,12 +268,6 @@ SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) - the user's timestamp, prompting for the user's pass­ - word if necessary. This extends the ssuuddoo timeout for - another 5 minutes (or whatever the timeout is set to - in _s_u_d_o_e_r_s) but does not run a command. - - -- The ---- flag indicates that ssuuddoo should stop processing command line arguments. It is most useful in conjunc­ tion with the --ss flag. @@ -322,24 +316,24 @@ SSEECCUURRIITTYY NNOOTTEESS that ssuuddoo executes. For security reasons, if your OS supports shared libraries + and does not disable user-defined library search paths for + setuid programs (most do), you should either use a linker + option that disables this behavior or link ssuuddoo stati­ + cally. + ssuuddoo will check the ownership of its timestamp directory -1.6.8 September 6, 2004 5 +1.6.8 September 8, 2004 5 -SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) +SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) - and does not disable user-defined library search paths for - setuid programs (most do), you should either use a linker - option that disables this behavior or link ssuuddoo stati­ - cally. - ssuuddoo will check the ownership of its timestamp directory (_/_v_a_r_/_r_u_n_/_s_u_d_o by default) and ignore the directory's con­ tents if it is not owned by root and only writable by root. On systems that allow non-root users to give away @@ -388,23 +382,23 @@ EENNVVIIRROONNMMEENNTT PATH Set to a sane value if sudo was configured with the --with-secure-path option + SHELL Used to determine shell to run with -s option + SUDO_PROMPT Used as the default password prompt + SUDO_COMMAND Set to the command run by sudo -1.6.8 September 6, 2004 6 +1.6.8 September 8, 2004 6 -SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) - SHELL Used to determine shell to run with -s option - SUDO_PROMPT Used as the default password prompt +SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) - SUDO_COMMAND Set to the command run by sudo SUDO_USER Set to the login of the user who invoked sudo @@ -455,20 +449,22 @@ SSEEEE AALLSSOO _g_r_e_p(1), _s_u(1), _s_t_a_t(2), _l_o_g_i_n___c_a_p(3), sudoers(4), passwd(4), visudo(1m) +AAUUTTHHOORRSS + Many people have worked on ssuuddoo over the years; this ver­ + sion consists of code written primarily by: + -1.6.8 September 6, 2004 7 +1.6.8 September 8, 2004 7 -SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) -AAUUTTHHOORRSS - Many people have worked on ssuuddoo over the years; this ver­ - sion consists of code written primarily by: +SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) + Todd Miller Chris Jepeway @@ -519,11 +515,15 @@ SSUUPPPPOORRTT archives. DDIISSCCLLAAIIMMEERR - SSuuddoo is provided ``AS IS'' and any express or implied + SSuuddoo is provided ``AS IS'' and any express or implied war­ + ranties, including, but not limited to, the implied war­ + ranties of merchantability and fitness for a particular + purpose are disclaimed. See the LICENSE file distributed + with ssuuddoo or http://www.sudo.ws/sudo/license.html for -1.6.8 September 6, 2004 8 +1.6.8 September 8, 2004 8 @@ -532,11 +532,11 @@ DDIISSCCLLAAIIMMEERR SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) - warranties, including, but not limited to, the implied - warranties of merchantability and fitness for a particular - purpose are disclaimed. See the LICENSE file distributed - with ssuuddoo or http://www.sudo.ws/sudo/license.html for com­ - plete details. + complete details. + + + + @@ -589,6 +589,6 @@ SUDO(1m) MAINTENANCE COMMANDS SUDO(1m) -1.6.8 September 6, 2004 9 +1.6.8 September 8, 2004 9 diff --git a/sudo.man.in b/sudo.man.in index 4134bd8a9..2c658b96b 100644 --- a/sudo.man.in +++ b/sudo.man.in @@ -149,7 +149,7 @@ .\" ======================================================================== .\" .IX Title "SUDO @mansectsu@" -.TH SUDO @mansectsu@ "September 6, 2004" "1.6.8" "MAINTENANCE COMMANDS" +.TH SUDO @mansectsu@ "September 8, 2004" "1.6.8" "MAINTENANCE COMMANDS" .SH "NAME" sudo, sudoedit \- execute a command as another user .SH "SYNOPSIS" @@ -299,11 +299,6 @@ the invoking user's environment unmodified. If, for some reason, \&\fBsudo\fR is unable to update a file with its edited version, the user will receive a warning and the edited copy will remain in a temporary file. -.Sp -Please note that the editor used must make its changes to the -original file (really the original inode). If the editor makes -changes to a temporary file and then just renames this to the -original file name it will not work with \fBsudoedit\fR. .RE .IP "\-h" 4 .IX Item "-h"