1 /*
2  * Copyright (c) 1996, 1998, 1999, 2001, 2004
3  *	Todd C. Miller <Todd.Miller@courtesan.com>.
4  *
5  * Permission to use, copy, modify, and distribute this software for any
6  * purpose with or without fee is hereby granted, provided that the above
7  * copyright notice and this permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16  *
17  * Sponsored in part by the Defense Advanced Research Projects
18  * Agency (DARPA) and Air Force Research Laboratory, Air Force
19  * Materiel Command, USAF, under agreement number F39502-99-1-0512.
20  *
21  * $Sudo: pathnames.h.in,v 1.52 2004/08/27 03:44:35 aaron Exp $
22  */
23 
24 /*
25  *  Pathnames to programs and files used by sudo.
26  */
27 
28 #include <paths.h>
29 
30 #define _PATH_SUDO_SENDMAIL _PATH_SENDMAIL
31 
32 #define _PATH_MV "/bin/mv"
33 
34 /*
35  * NOTE: _PATH_SUDOERS is usually overriden by the Makefile.
36  */
37 #ifndef _PATH_SUDOERS
38 #define _PATH_SUDOERS		"/etc/sudoers"
39 #endif /* _PATH_SUDOERS */
40 
41 /*
42  * NOTE:  _PATH_SUDOERS_TMP is usually overriden by the Makefile.
43  *        _PATH_SUDOERS_TMP *MUST* be on the same partition
44  *        as _PATH_SUDOERS!
45  */
46 #ifndef _PATH_SUDOERS_TMP
47 #define _PATH_SUDOERS_TMP	"/etc/sudoers.tmp"
48 #endif /* _PATH_SUDOERS_TMP */
49 
50 /*
51  * The following paths are controlled via the configure script.
52  */
53 
54 /*
55  * Where to put the timestamp files.  Defaults to /var/run/sudo,
56  * /var/adm/sudo or /usr/adm/sudo depending on what exists.
57  */
58 #ifndef _PATH_SUDO_TIMEDIR
59 #define _PATH_SUDO_TIMEDIR "/var/run/sudo"
60 #endif /* _PATH_SUDO_TIMEDIR */
61 
62 /*
63  * Where to put the sudo log file when logging to a file.  Defaults to
64  * /var/log/sudo.log if /var/log exists, else /var/adm/sudo.log.
65  */
66 #ifndef _PATH_SUDO_LOGFILE
67 #define _PATH_SUDO_LOGFILE "/var/log/sudo.log"
68 #endif /* _PATH_SUDO_LOGFILE */
69 
70 /*
71  * Note: _PATH_SUDO_NOEXEC is set by lib/Makefile, not here.
72  */
73