00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 #ifndef _PATHS_H_
00038 #define _PATHS_H_
00039
00040 #include <sys/cdefs.h>
00041
00042
00043 #define _PATH_DEFPATH "/usr/bin:/bin"
00044
00045 #define _PATH_STDPATH \
00046 "/usr/bin:/bin:/usr/sbin:/sbin:"
00047
00048 #define _PATH_SYSPATH \
00049 "/sbin:/usr/sbin"
00050
00051 #define _PATH_AUTHCONF "/etc/auth.conf"
00052 #define _PATH_BSHELL "/bin/sh"
00053 #define _PATH_CAPABILITY "/etc/capability"
00054 #define _PATH_CAPABILITY_DB "/etc/capability.db"
00055 #define _PATH_CONSOLE "/dev/console"
00056 #define _PATH_CP "/bin/cp"
00057 #define _PATH_CSHELL "/bin/csh"
00058 #define _PATH_DEFTAPE "/dev/sa0"
00059 #define _PATH_DEVNULL "/dev/null"
00060 #define _PATH_DEVZERO "/dev/zero"
00061 #define _PATH_DRUM "/dev/drum"
00062 #define _PATH_ETC "/etc"
00063 #define _PATH_FTPUSERS "/etc/ftpusers"
00064 #define _PATH_HALT "/sbin/halt"
00065 #define _PATH_IFCONFIG "/sbin/ifconfig"
00066 #define _PATH_KMEM "/dev/kmem"
00067 #define _PATH_LIBMAP_CONF "/etc/libmap.conf"
00068 #define _PATH_LOCALE "/usr/share/locale"
00069 #define _PATH_LOGIN "/usr/bin/login"
00070 #define _PATH_MAILDIR "/var/mail"
00071 #define _PATH_MAN "/usr/share/man"
00072 #define _PATH_MDCONFIG "/sbin/mdconfig"
00073 #define _PATH_MEM "/dev/mem"
00074 #define _PATH_MKSNAP_FFS "/sbin/mksnap_ffs"
00075 #define _PATH_MOUNT "/sbin/mount"
00076 #define _PATH_NEWFS "/sbin/newfs"
00077 #define _PATH_NOLOGIN "/var/run/nologin"
00078 #define _PATH_RCP "/bin/rcp"
00079 #define _PATH_REBOOT "/sbin/reboot"
00080 #define _PATH_RLOGIN "/usr/bin/rlogin"
00081 #define _PATH_RM "/bin/rm"
00082 #define _PATH_RSH "/usr/bin/rsh"
00083 #define _PATH_SENDMAIL "/usr/sbin/sendmail"
00084 #define _PATH_SHELLS "/etc/shells"
00085 #define _PATH_TTY "/dev/tty"
00086 #define _PATH_UNIX "don't use _PATH_UNIX"
00087 #define _PATH_VI "/usr/bin/vi"
00088 #define _PATH_WALL "/usr/bin/wall"
00089
00090
00091 #define _PATH_DEV "/dev/"
00092 #define _PATH_TMP "/tmp/"
00093 #define _PATH_VARDB "/var/db/"
00094 #define _PATH_VARRUN "/var/run/"
00095 #define _PATH_VARTMP "/var/tmp/"
00096 #define _PATH_YP "/var/yp/"
00097 #define _PATH_UUCPLOCK "/var/spool/lock/"
00098
00099 #ifdef RESCUE
00100 #undef _PATH_DEFPATH
00101 #define _PATH_DEFPATH "/rescue:/usr/bin:/bin"
00102 #undef _PATH_STDPATH
00103 #define _PATH_STDPATH "/rescue:/usr/bin:/bin:/usr/sbin:/sbin"
00104 #undef _PATH_SYSPATH
00105 #define _PATH_SYSPATH "/rescue:/sbin:/usr/sbin"
00106 #undef _PATH_BSHELL
00107 #define _PATH_BSHELL "/rescue/sh"
00108 #undef _PATH_CP
00109 #define _PATH_CP "/rescue/cp"
00110 #undef _PATH_CSHELL
00111 #define _PATH_CSHELL "/rescue/csh"
00112 #undef _PATH_HALT
00113 #define _PATH_HALT "/rescue/halt"
00114 #undef _PATH_IFCONFIG
00115 #define _PATH_IFCONFIG "/rescue/ifconfig"
00116 #undef _PATH_MDCONFIG
00117 #define _PATH_MDCONFIG "/rescue/mdconfig"
00118 #undef _PATH_MOUNT
00119 #define _PATH_MOUNT "/rescue/mount"
00120 #undef _PATH_NEWFS
00121 #define _PATH_NEWFS "/rescue/newfs"
00122 #undef _PATH_RCP
00123 #define _PATH_RCP "/rescue/rcp"
00124 #undef _PATH_REBOOT
00125 #define _PATH_REBOOT "/rescue/reboot"
00126 #undef _PATH_RM
00127 #define _PATH_RM "/rescue/rm"
00128 #undef _PATH_VI
00129 #define _PATH_VI "/rescue/vi"
00130 #undef _PATH_WALL
00131 #define _PATH_WALL "/rescue/wall"
00132 #endif
00133
00134 #endif