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

Re: Buster install



Curt Howland writes:
> I know some kinks will work out, but seriously, /sbin is not in root's 
> path by default?

/sbin is in root's path by default.  However Debian now uses a different
implementation of `su` which no longer changes PATH by default:

+---
|   - new 'su' (with no args, i.e. when preserving the environment) also
|     preserves PATH and IFS, while old su would always reset PATH and IFS
|     even in 'preserve environment' mode.
|   [...]
|   The first difference is probably the most user visible one. Doing
|   plain 'su' is a really bad idea for many reasons, so using 'su -' is
|   strongly recommended to always get a newly set up environment similar
|   to a normal login.
+---[ /usr/share/doc/util-linux/NEWS.Debian.gz ]

Ansgar


Reply to: