22 lines
811 B
Diff
22 lines
811 B
Diff
--- rootfs.orig/etc/login.defs
|
|
+++ rootfs/etc/login.defs
|
|
@@ -100,7 +100,7 @@ HUSHLOGIN_FILE .hushlogin
|
|
#
|
|
# (they are minimal, add the rest in the shell startup files)
|
|
ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
-ENV_PATH PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
|
|
+ENV_PATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
|
|
|
|
#
|
|
# Terminal permissions
|
|
--- rootfs.orig/etc/profile
|
|
+++ rootfs/etc/profile
|
|
@@ -4,7 +4,7 @@
|
|
if [ "`id -u`" -eq 0 ]; then
|
|
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
else
|
|
- PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
|
|
+ PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
|
|
fi
|
|
export PATH
|
|
|