Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 81262
Collapse All | Expand All

(-)/etc/profile (-1 / +1 lines)
Lines 9-15 Link Here
9
# 077 would be more secure, but 022 is generally quite realistic
9
# 077 would be more secure, but 022 is generally quite realistic
10
umask 022
10
umask 022
11
11
12
if [ "$UID" = "0" ]
12
if [ `/usr/bin/whoami` = 'root' ]
13
then
13
then
14
	# Do not set PS1 for dumb terminals
14
	# Do not set PS1 for dumb terminals
15
	if [ "$TERM" != 'dumb'  ] && [ -n "$BASH" ]
15
	if [ "$TERM" != 'dumb'  ] && [ -n "$BASH" ]

Return to bug 81262