[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: root path change



On Tuesday 30 Aug 2011, Paul Scott wrote:
> Hi,
> 
> I'm running sid.
> 
> I have found several partial answers with Google but nothing conclusive.
> 
> About a week ago 'sudo aptitude' stopped working because /sbin and
> /usr/sbin are no longer on the path.  Is this possible a recent security
> improvement?  Aptitude works fine if I use "su -" instead of sudo.
> 
> Thanks for any information,
> 
> Paul Scott

try:-

sudo -i aptitude

which simulates a logon as root and therefore gets the right path.

David


Reply to: