* [gentoo-commits] proj/baselayout:master commit in: etc/
@ 2018-05-28 19:22 99% William Hubbs
0 siblings, 0 replies; 1+ results
From: William Hubbs @ 2018-05-28 19:22 UTC (permalink / raw
To: gentoo-commits
commit: 8974c87e2d0e243c0fc2503fac5b40f447fac65f
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon May 28 18:54:32 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon May 28 19:21:23 2018 +0000
URL: https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=8974c87e
profile: don't use ROOTPATH
Since PATH is supposed to be the same for everyone, we can now drop the
code that handles ROOTPATH.
etc/profile | 8 --------
1 file changed, 8 deletions(-)
diff --git a/etc/profile b/etc/profile
index 05584351..2afd51d9 100644
--- a/etc/profile
+++ b/etc/profile
@@ -18,14 +18,6 @@ export PAGER=${PAGER:-/usr/bin/less}
# 077 would be more secure, but 022 is generally quite realistic
umask 022
-# Set up PATH depending on whether we're root or a normal user.
-# There's no real reason to exclude sbin paths from the normal user,
-# but it can make tab-completion easier when they aren't in the
-# user's PATH to pollute the executable namespace.
-if [ "${EUID-}" = "0" ] || [ "${USER-}" = "root" ] ; then
- PATH="${ROOTPATH}"
-fi
-export PATH
unset ROOTPATH
# process *.sh files in /etc/profile.d
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-05-28 19:22 99% [gentoo-commits] proj/baselayout:master commit in: etc/ William Hubbs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox