Hi.

On Wed, Jun 21, 2023 at 12:57:41PM +0100, Joe wrote:
> On Tue, 20 Jun 2023 17:34:45 -0400
> gene heskett <ghesk...@shentel.net> wrote:
> 
> 
> >  My fav editor, geany is also
> > dead for roots use for exactly he same reason, but runs just fine as
> > me. So there is a common problem.
> 
> Well, you could do it the right way: edit as you with geany in a work
> directory, copy to/from the real location with a root-powered file
> manager, such as mc under sudo in a terminal. Alter owner/perms as
> required with mc.

Or just use visudo which does it all without user's intervention.

visudo, and this is a hint, *does* allow user to invoke both X- and
Wayland-based text editors, given the appropriate amount of configuration.

And this is the rightest (sp?) way there is, because allowing user to run
root-powered file manager is a deviation from the said way.

Reco

Reply via email to