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

Re: Bookworm: missing sbin in root path?



On Sat, Jul 01, 2023 at 10:07:59PM -0400, Carl Fink wrote:
> 
> On 7/1/23 21:38, Greg Wooledge wrote:
> > On Sat, Jul 01, 2023 at 08:58:44PM -0400, Carl Fink wrote:
> > > When I type "/usr/sbin/adduser", that works, but shouldn't root default to
> > > having sbin in its path?
> > You probably used su.
> > 
[...]
> Yes, I did use su. I had no idea that would cause a problem.
> 
> Thanks for the pointer. I created /etc/default/su, which should
> resolve this.
> 

or using:
su -

This will include your environment for root

-H

-- 
Henning Follmann           | hfollmann@itcfollmann.com


Reply to: