This file is indexed.

/etc/sysprofile is in sysprofile 0.3.9.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# This script first checks for the existence of "$HOME/.nosysprofile"
# and simply quits if it exists.  If it doesn't exist it further checks 
# for the directory "/etc/sysprofile.d" which contains all configuraton 
# scripts to execute.  If the latter doesn't exist it just quits without
# any unnecessary complaints.

# Set SYSDEBUG=1 for debugging:
#SYSDEBUG=1
SYSDEBUG=0

# Only run if user doesn't prevent it:

if [ ! -f $HOME/.nosysprofile ]; then

if [ "$SYSDEBUG" = 1 ]; then
    if [ ! -d /var/tmp/sysprofile ]; then
        mkdir -m 1777 /var/tmp/sysprofile
        touch /var/tmp/sysprofile/$USER
        chmod 600 /var/tmp/sysprofile/$USER
    fi
fi

# First run common system wide scripts if no 
# user defined version exists:

    if [ -d /etc/sysprofile.d ]; then
	for i in `cd /etc/sysprofile.d && echo *.bash` 
    	do
    	    if [ ! -f $HOME/.sysprofile.d/$i ]; then
		. /etc/sysprofile.d/$i
	    fi
        done
    fi

# Then run any existing user defined scripts:

    if [ -d $HOME/.sysprofile.d ]; then
	for i in `cd $HOME/.sysprofile.d && echo *.bash` 
    	do
	    . $HOME/.sysprofile.d/$i
        done
    fi
fi