nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] preventing a root-owned .nano dir


From: alpha
Subject: Re: [Nano-devel] preventing a root-owned .nano dir
Date: Wed, 8 Jul 2015 20:44:34 -0600

On Wed, 08 Jul 2015 20:40:57 +0200
Benno Schulenberg <address@hidden> wrote:

> Anyway, the patch prevents the root user from steering
> through the HOME environment variable where nano will look
> for its .nanorc file and .nano/ history files.  Would that
> be an acceptable small sacrifice?  Chris?  Others?

What about `sudo -u another_user nano`? I've seen many broken environments over 
the years and having nano deal with it sounds like a good idea. But it would be 
less hacky if it handled both cases, root and other users.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]