Reputation
1,048
Next privilege 2,000 Rep.
Edit questions and answers
Badges
3 13 26
Impact
~94k people reached

  • 0 posts edited
  • 0 helpful flags
  • 35 votes cast
Jul
9
accepted What environment do I get with sudo?
Jul
9
comment What environment do I get with sudo?
I didn't know about the secure_path option. The default did not include /usr/local/bin on my install. Thanks, this really helped clear stuff up!
Jul
9
asked Automated PAM module installation
Jul
6
comment Bash: double equals vs -eq
@Gilles- Oops, good catch.
Jul
6
revised Bash: double equals vs -eq
added 2 characters in body
Jul
5
accepted Bash: double equals vs -eq
Jul
5
comment Bash: double equals vs -eq
Does that mean that if both sides are integers, it converts both sides to strings and then compares them?
Jul
5
asked Bash: double equals vs -eq
Jul
5
comment What environment do I get with sudo?
@Gilles- Good point. I added my OS. I have only really noticed this on Fedora (I used to use Ubuntu), but I thought that was because they didn't add a lot of convenience setup.
Jul
5
revised What environment do I get with sudo?
Added OS
Jul
5
comment What environment do I get with sudo?
Still didn't fix it. I tried adding a line to the end of '/etc/bashrc` and /etc/profile, neither of which changed the PATH output from sudo env.
Jul
5
comment What environment do I get with sudo?
Does sudo source /root/.bashrc? That's where I add /usr/local/bin to root`s path (I had to do this manually, unfortunately)?
Jul
5
comment What environment do I get with sudo?
sudo whoami returns root, like expected. What could be causing my sudo env to be different than my root env?
Jul
5
comment What environment do I get with sudo?
Cool, didn't know about that. Anyway, /usr/local/bin isn't in my sudo env, but it is in my root env and user env. Why is this?
Jul
5
revised What environment do I get with sudo?
Grammar and additional info
Jul
5
asked What environment do I get with sudo?
Jul
1
comment Preparing a Linux image in a virtual machine
@Gilles- Thanks! This was exactly what I was hoping for. I assumed that I'd have to tune the config file, but I guess I can get a pretty generic one working if GRUB can read filesystems.
Jul
1
accepted Preparing a Linux image in a virtual machine
Jul
1
comment Preparing a Linux image in a virtual machine
@Gilles- I added a little information about my specific setup.
Jul
1
revised Preparing a Linux image in a virtual machine
Added info