:: Re: [DNG] visudo not installed or i…
Top Page
Delete this message
Reply to this message
Author: sawbona
Date:  
To: Carl Fink, Dng
Subject: Re: [DNG] visudo not installed or installable? Experience on new install
Hello:

On 28 Apr 2025 at 8:16, Carl Fink wrote:

> ... use visudo to avoid common errors.

Right.

It validates the [/etc/sudoers.d] entries' syntax.
Actually very useful.

> But visudo is not installed.

It is.
But not as you expect it to be.

> And there's no visudo package.

No, there is no visudo package.

> And an apt-cache search finds nothing for visudo ....

See above.

> In my opinion, sub-optimal.

Hmm ... 8^°

---

The [visudo] command is part of the [sudo] package and you will find
it in [/usr/sbin/visudo].

See here:

https://pkginfo.devuan.org/cgi-bin/package-query.html?c=package&q=sudo
=1.9.13p3-1+deb12u1

But if you are *not* root, the system will (correctly) print out
"command not found".

> Thanks for any help with finding visudo.

You're welcome.

BTW:
[*$ man visudo] would have found it for you without much ado.

Best,

A.