On Tue, 30 Nov 2004 09:25:08 +1300, Nick Rout <[EMAIL PROTECTED]> wrote: > I was forced to use sudo with ubuntu, and a good job too as I was too > much in the habit of being root. > > However when I set it up on other systems, i find a lot of messages > like: > > sudo: eupdatedb: command not found > > I am pretty sure that this is because the command is in /usr/sbin which > is in root's path but not in nick's path. > > I note that in ubuntu nick's path includes /sbin /usr/sbin (and maybe > others). however on other systems ordinary mortals do not have /sbin and > /usr/sbin in their paths. > > So I think I have almost answered my own question, to make sudo work as > expected i need to add /sbin and /usr/sbin to nick's path. However I > wanted to check with the gurus that this is the proper way to solve the > problem, and that I hadn't missed anything. > -- > Nick Rout <[EMAIL PROTECTED]> > >
During the post-installation stuff, it shows a message for a few seconds saying that you should run /etc/cron.daily/slocate - i think that does the same thing. -- Beware of the GMail reply to header ;)