Re: How do I set up sudo..
On Wed, Dec 19, 2007 at 09:40:45PM -0800, Alou Dialy wrote:
> It is etch. The problem is with the commands that as a
> normal user it tells me, command not found. So when I
> sudo it still cannot find them. Why can I only find
> these commands as root. Commands like dpkg-reconfigure
> and sysctl.
They will be in either /sbin or /usr/sbin which are in root's path.
OTOH, most discussions of sudo tell you to use the full path, so rather
than
$ sudo dpkg-reconfigure debconf
it would be
$ sudo /usr/sbin/dpkg-reconfigure debconf
Doug.
Reply to: