summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-10-04 16:44:00 +0000
committerderaadt <deraadt@openbsd.org>1999-10-04 16:44:00 +0000
commit8227fb80c01b77149e7a3b39be28adf168b9604b (patch)
tree9cede12afda6aa0dde7e4adf6402726287f1704b
parentm_new is the new mbuf, not m (diff)
downloadwireguard-openbsd-8227fb80c01b77149e7a3b39be28adf168b9604b.tar.xz
wireguard-openbsd-8227fb80c01b77149e7a3b39be28adf168b9604b.zip
put sbin:/usr/sbin in default path
-rw-r--r--bin/ksh/config.h4
-rw-r--r--include/paths.h4
-rw-r--r--share/skel/dot.cshrc2
-rw-r--r--share/skel/dot.profile2
4 files changed, 6 insertions, 6 deletions
diff --git a/bin/ksh/config.h b/bin/ksh/config.h
index 218f526aaae..55fa799e8ee 100644
--- a/bin/ksh/config.h
+++ b/bin/ksh/config.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.h,v 1.4 1999/01/08 20:24:58 millert Exp $ */
+/* $OpenBSD: config.h,v 1.5 1999/10/04 16:44:00 deraadt Exp $ */
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
@@ -193,7 +193,7 @@
#define HAVE_DEV_FD 1
/* Default PATH (see comments in configure.in for more details) */
-#define DEFAULT_PATH "/bin:/usr/bin:/usr/ucb"
+#define DEFAULT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"
/* Define if your C library's getwd/getcwd function dumps core in unreadable
* directories. */
diff --git a/include/paths.h b/include/paths.h
index ad5fe5f6efe..a390412fefa 100644
--- a/include/paths.h
+++ b/include/paths.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: paths.h,v 1.15 1999/02/03 04:34:06 angelos Exp $ */
+/* $OpenBSD: paths.h,v 1.16 1999/10/04 16:44:01 deraadt Exp $ */
/* $NetBSD: paths.h,v 1.7 1994/10/26 00:56:12 cgd Exp $ */
/*
@@ -40,7 +40,7 @@
#define _PATHS_H_
/* Default search path. */
-#define _PATH_DEFPATH "/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin"
+#define _PATH_DEFPATH "/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin"
/* All standard utilities path. */
#define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin"
diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc
index 6409f9c49b8..e3b8c5d4838 100644
--- a/share/skel/dot.cshrc
+++ b/share/skel/dot.cshrc
@@ -11,7 +11,7 @@ alias ll ls -lgsA
alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
alias z suspend
-set path = (~/bin /bin /usr/{bin,local/bin,games} .)
+set path = (~/bin /bin /sbin /usr/{bin,local/bin,games,sbin} .)
if ($?prompt) then
# An interactive shell -- set some stuff up
diff --git a/share/skel/dot.profile b/share/skel/dot.profile
index 2cee346eada..ed597ee360e 100644
--- a/share/skel/dot.profile
+++ b/share/skel/dot.profile
@@ -1,2 +1,2 @@
-PATH=/bin:/usr/bin:/usr/local/bin:/usr/games:.
+PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/games:.
export PATH HOME TERM