Where is the system-wide $PATH variable set?

Solution 1:

The (default) system wide PATH is set in the /etc/environment file.

$ cat /etc/environment 
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

It is basically the place to save the global environment variables.