On Sat, Mar 28, 2015 at 05:59:09AM +0100, Christoph Anton Mitterer wrote:
> PATH="${PATH:-"$( { /bin/sed -n "s/^[[:space:]]*ENV_$(if [ "$(/usr/bin/id
> -u)" = 0 ]; then /usr/bin/printf SU;
> fi)PATH[[:space:]][[:space:]]*\(\|PATH=\)\(.*\)$/\2/p" /etc/login.defs |
> /usr/bin/tail -n 1; } 2> /dev/null )"}"
Absolutely no way, this is completely insane. The file /etc/profile
*must* be human readable, not a collection of clever hacks designed to
avoid touching /etc/profile as if it were read only.
Moreover, people do not change the PATH so often, so having to change
/etc/profile is not a big deal.
If you insist that this is a bug, then it will remain "unfixed".
(But I might better eventually close it so that everybody stop suggesting
obfuscating /etc/profile)
Thanks.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]