LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] sudo and PATH

[ILUG] sudo and PATH

Niall Sheridan nsheridan at gmail.com
Sun Sep 11 18:25:50 IST 2011


Check for the presence of env_reset in your sudoers file.

 Niall

On Sun, Sep 11, 2011 at 18:19, Brendan Halpin <brendan.halpin at ul.ie> wrote:
> Something to do with sudo has changed recently, and I'm confused. I've
> had a number of "sudo apt-get update" fail due to not finding ldconfig
> (running apt-get explicitly as root works perfectly), and today I ran a
> script that had a "sudo rmmod" line in it and that failed too. It turns
> out that these commands are no longer in the PATH sudo sees, but they
> used to be.
>
> In my current setup (Debian unstable) sudo has exactly the same path as
> my shell, which (on googling) I understand to be The Right Thing.
>
> Any idea what the change might be? Have these programs moved? Has sudo's
> behaviour changed?
>
> Brendan
> --
> Brendan Halpin,   Department of Sociology,   University of Limerick,   Ireland
> Tel: w +353-61-213147  f +353-61-202569  h +353-61-338562;  Room F1-009 x 3147
> mailto:brendan.halpin at ul.ie    ULSociology on Facebook: http://on.fb.me/fjIK9t
> http://teaching.sociology.ul.ie/bhalpin/wordpress         twitter:@ULSociology
> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug
> Who we are : http://www.linux.ie/
> Where we are : http://www.linux.ie/map/
>


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell