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/fjIK9thttp://teaching.sociology.ul.ie/bhalpin/wordpress twitter:@ULSociology
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!