2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00
sudo/pathnames.h.in

91 lines
2.3 KiB
C
Raw Normal View History

1994-03-10 07:45:06 +00:00
/*
* CU sudo version 1.6
1999-02-03 04:32:19 +00:00
* Copyright (c) 1996, 1998, 1999 Todd C. Miller <Todd.Miller@courtesan.com>
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.
*
1996-09-08 00:21:42 +00:00
* Please send bugs, changes, problems to sudo-bugs@courtesan.com
1995-04-09 22:58:55 +00:00
*
1999-01-17 23:16:20 +00:00
* $Sudo$
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-09-03 18:12:00 +00:00
#ifndef _PATH_DEV
#define _PATH_DEV "/dev/"
#endif /* _PATH_DEV */
1998-09-20 23:10:04 +00:00
#ifndef _PATH_TTY
#define _PATH_TTY "/dev/tty"
#endif /* _PATH_TTY */
/*
1998-09-20 23:10:04 +00:00
* NOTE: _PATH_SUDO_SUDOERS is usually overriden by the Makefile.
*/
#ifndef _PATH_SUDO_SUDOERS
#define _PATH_SUDO_SUDOERS "/etc/sudoers"
#endif /* _PATH_SUDO_SUDOERS */
/*
* NOTE: _PATH_SUDO_STMP is usually overriden by the Makefile.
* _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
1998-09-20 23:10:04 +00:00
/*
* The following paths are controlled via the configure script.
*/
1994-06-05 21:17:18 +00:00
/*
1998-09-20 23:10:04 +00:00
* Where to put the timestamp files. Defaults to /var/run/sudo if
* /var/run exists, else /tmp/.odus.
*/
1998-09-20 23:10:04 +00:00
#ifndef _PATH_SUDO_TIMEDIR
#undef _PATH_SUDO_TIMEDIR
#endif /* _PATH_SUDO_TIMEDIR */
/*
1998-09-20 23:10:04 +00:00
* Where to put the sudo log file when logging to a file. Defaults to
* /var/log/sudo.log if /var/log exists, else /var/adm/sudo.log.
*/
#ifndef _PATH_SUDO_LOGFILE
1998-09-20 23:10:04 +00:00
#undef _PATH_SUDO_LOGFILE
#endif /* _PATH_SUDO_LOGFILE */
#ifndef _PATH_SENDMAIL
1998-09-20 23:10:04 +00:00
#undef _PATH_SENDMAIL
#endif /* _PATH_SENDMAIL */
1994-03-10 07:45:06 +00:00
#ifndef _PATH_VI
1998-09-20 23:10:04 +00:00
#undef _PATH_VI
1994-03-10 07:45:06 +00:00
#endif /* _PATH_VI */
1994-06-04 18:47:00 +00:00
1995-01-13 17:45:15 +00:00
#ifndef _PATH_MV
1998-09-20 23:10:04 +00:00
#undef _PATH_MV
1995-01-13 17:45:15 +00:00
#endif /* _PATH_MV */
1996-02-05 02:58:17 +00:00
#ifndef _PATH_BSHELL
1998-09-20 23:10:04 +00:00
#undef _PATH_BSHELL
1996-02-05 02:58:17 +00:00
#endif /* _PATH_BSHELL */