1994-03-10 07:45:06 +00:00
|
|
|
/*
|
1994-03-12 18:57:27 +00:00
|
|
|
* CU sudo version 1.3.1
|
1994-03-10 07:45:06 +00:00
|
|
|
*
|
1994-03-12 18:57:27 +00:00
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 1, or (at your option)
|
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
1994-09-02 19:55:56 +00:00
|
|
|
* Please send bugs, changes, problems to sudo-bugs@cs.colorado.edu
|
1994-03-12 18:57:27 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Pathnames to programs and files used by sudo.
|
1994-03-10 07:45:06 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef HAVE_PATHS_H
|
|
|
|
#include <paths.h>
|
|
|
|
#endif /* HAVE_PATHS_H */
|
|
|
|
|
1995-01-16 21:30:48 +00:00
|
|
|
#ifndef _PATH_SUDO_SUDOERS
|
|
|
|
#define _PATH_SUDO_SUDOERS "/etc/sudoers"
|
|
|
|
#endif /* _PATH_SUDO_SUDOERS */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* NOTE: _PATH_SUDO_STMP *MUST* be on the same partition
|
|
|
|
* as _PATH_SUDO_SUDOERS!
|
|
|
|
*/
|
|
|
|
#ifndef _PATH_SUDO_STMP
|
|
|
|
#define _PATH_SUDO_STMP "/etc/stmp"
|
|
|
|
#endif /* _PATH_SUDO_STMP */
|
1994-03-10 07:45:06 +00:00
|
|
|
|
|
|
|
#ifndef _PATH_SUDO_TIMEDIR
|
|
|
|
#define _PATH_SUDO_TIMEDIR "/tmp/.odus"
|
|
|
|
#endif /* _PATH_SUDO_TIMEDIR */
|
|
|
|
|
1994-06-05 21:17:18 +00:00
|
|
|
#ifndef _PATH_TTY
|
|
|
|
#define _PATH_TTY "/dev/tty"
|
|
|
|
#endif /* _PATH_TTY */
|
|
|
|
|
1995-01-16 21:30:48 +00:00
|
|
|
/*
|
|
|
|
* The following paths are gleaned via configure but you can override
|
|
|
|
* configure's values here if you want.
|
|
|
|
*/
|
|
|
|
|
1995-03-30 02:12:36 +00:00
|
|
|
/*
|
|
|
|
* Where to put the sudo log file when logging to a file this
|
|
|
|
* is /var/log/sudo.log if /var/log exists, else /var/adm/sudo.log
|
|
|
|
*/
|
|
|
|
#ifndef _PATH_SUDO_LOGFILE
|
|
|
|
#define _PATH_SUDO_LOGFILE _SUDO_PATH_LOGFILE
|
|
|
|
#endif /* _PATH_SUDO_LOGFILE */
|
|
|
|
|
1995-01-16 21:30:48 +00:00
|
|
|
#ifndef _PATH_SENDMAIL
|
|
|
|
#define _PATH_SENDMAIL _SUDO_PATH_SENDMAIL
|
|
|
|
#endif /* _PATH_SENDMAIL */
|
|
|
|
|
1994-03-10 07:45:06 +00:00
|
|
|
#ifndef _PATH_VI
|
1995-01-16 21:30:48 +00:00
|
|
|
#define _PATH_VI _SUDO_PATH_VI
|
1994-03-10 07:45:06 +00:00
|
|
|
#endif /* _PATH_VI */
|
1994-06-04 18:47:00 +00:00
|
|
|
|
|
|
|
#ifndef _PATH_PWD
|
1995-01-16 21:30:48 +00:00
|
|
|
#define _PATH_PWD _SUDO_PATH_PWD
|
1994-06-04 18:47:00 +00:00
|
|
|
#endif /* _PATH_PWD */
|
1995-01-13 17:45:15 +00:00
|
|
|
|
|
|
|
#ifndef _PATH_MV
|
1995-01-16 21:30:48 +00:00
|
|
|
#define _PATH_MV _SUDO_PATH_MV
|
1995-01-13 17:45:15 +00:00
|
|
|
#endif /* _PATH_MV */
|