:: Re: [DNG] visudo not installed or i…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Dan Purgert
Fecha:  
A: dng
Asunto: Re: [DNG] visudo not installed or installable? Experience on new install
On Apr 29, 2025, Rainer Weikusat via Dng wrote:
> Dan Purgert via Dng <dng@???> writes:
> > On Apr 28, 2025, Carl Fink wrote:
> >> On 2025-04-28 11:10, sawbona@??? wrote:
> >> ...
> >> > The [visudo] command is part of the [sudo] package and you will find
> >> > it in [/usr/sbin/visudo].
> >>
> >> There lies the problem. I actualy was root, but my account (and root) don't
> >> have /user/sbin in the. Profile editing fixed it. Apparently the installer
> >> doesn't include /sbin and /usr/sbin in the path, even for root.
> >
> > It does. You just did 'su' without the '-l' switch.
>
> As this is probably less confusing: Environment variables and other
> inherited settings are usually set by a shell 'profile' file which will
> only be processed by login shells. Because of this [...]


Yeah, definitely worded better than I had done. :)

--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860