profile: disable core files creation for root user
This commit is contained in:
parent
46447b5367
commit
ca33f328bb
@ -20,9 +20,6 @@ fi
|
|||||||
|
|
||||||
loginsh=1
|
loginsh=1
|
||||||
|
|
||||||
# Users generally won't see annoyng core files
|
|
||||||
[ "$UID" = "0" ] && ulimit -S -c 1000000 > /dev/null 2>&1
|
|
||||||
|
|
||||||
# Make path more comfortable
|
# Make path more comfortable
|
||||||
PATH=/bin:/usr/bin:/usr/local/bin
|
PATH=/bin:/usr/bin:/usr/local/bin
|
||||||
if [ "$UID" = 0 ]; then
|
if [ "$UID" = 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user