/etc/environment and /etc/profile.d/* ignored for the root user
97567
How do I set persistent environment variables for root?
31901
Format of /etc/hosts on Linux (different from Windows?)
86511
How do Ubuntu and Debian manage $HOME for users with sudo privileges?
45048
Getting sudo to work for an alias
135331
I changed /etc/sudoers, and now I can't run as sudo
98682
How to fix ~/.profile and ~/.bashrc syntax errors
54482
Why is there no option to login as root?
93618
bash profile works for user but not sudo
150103
How can I retrieve an entry from /etc/passwd for a given username?
24487
What's the difference between "Service" and "/etc/init.d/"?
28269
Referencing environment variables *in* /etc/environment?
54817
Setting PATH variable in /etc/environment vs .profile
103750
Where are the pristine, untouched contents of a ~/.profile file?
103004
What environment do I get with sudo?
4227
How do I login as root?
27389
Accidently ran "chown www-data:www-data / -R" as root
117033
Setting the PATH so it applies to all users, including root/sudo