query: sudo su -l does not preserve environment variable
positive_passages.docid: 97567
positive_passages.text: How do I set persistent environment variables for root?
negative_passages.docid: 107055
negative_passages.text: What is the functional difference between sudo su and sudo -i?
negative_passages.docid: 298
negative_passages.text: sudo echo "something" >> /etc/privilegedFile doesn't work
negative_passages.docid: 30325
negative_passages.text: pipe to sudo -E bash -
negative_passages.docid: 27714
negative_passages.text: How do I drop root privileges in shell scripts?
negative_passages.docid: 120107
negative_passages.text: Permission denied when accessing su
negative_passages.docid: 89652
negative_passages.text: Lost access to sudo
negative_passages.docid: 137723
negative_passages.text: Protect folder from sudoers
negative_passages.docid: 124795
negative_passages.text: sudo does not ask for password
negative_passages.docid: 9180
negative_passages.text: Is there any 'sudo' command for Windows?
negative_passages.docid: 67217
negative_passages.text: How is sudo safer than directly using su if the user is granted access to all commands?
negative_passages.docid: 78893
negative_passages.text: Linux - why do the su and sudo binaries need to be set-UID root?
negative_passages.docid: 22322
negative_passages.text: Setting environment variables in Linux using Bash
negative_passages.docid: 111479
negative_passages.text: How do you keep the password hidden when invoked during the su command?
negative_passages.docid: 131429
negative_passages.text: Why can't sudo find a command after I added it to PATH?
negative_passages.docid: 85093
negative_passages.text: 'sudo su -' vs 'sudo -i' vs 'sudo /bin/bash' - when does it matter which is used, or does it matter at all?
negative_passages.docid: 113730
negative_passages.text: how to run two commands in sudo?