← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #79333]: sudo doesn't propagate $PWD

 

Question #79333 on sudo in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/sudo/+question/79333

Kamus posted a new comment:
Dear Mike, extract from https://help.ubuntu.com/community/Sudoers

Defaults env_reset , resets the terminal environment after switching to root. So, ie: all user set variables are removed. The second (root ALL=(ALL) ALL) just lets root do everything on any machine as any user. And the third (%admin ALL=(ALL) ALL) lets anybody in the admin group run anything as any user. Note that they will still require a password (thus giving you the normal behaviour you are so used 
to), by defaults "/etc/sudoers".

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.