|
|
Subscribe / Log in / New account

GNU nano 8.0 released

GNU nano 8.0 released

Posted May 2, 2024 5:29 UTC (Thu) by NYKevin (subscriber, #129325)
In reply to: GNU nano 8.0 released by sub2LWN
Parent article: GNU nano 8.0 released

Restricted mode is frankly not very useful. If you want to let somebody edit a file, the proper way to do it is to copy the file into /tmp with permissions set so that they can read and write it, let them edit it in-place with an unprivileged editor, and then copy it back. If you need to do something more elaborate than that, then you probably should be reaching for a container or VM, not restricted mode.


to post comments

GNU nano 8.0 released

Posted May 3, 2024 5:43 UTC (Fri) by grawity (subscriber, #80596) [Link]

I'm reminded of the various captive interfaces I've seen back in the day, when shell accounts and telnet/ssh BBSes were more of a thing. They used restricted editors because the user (e.g. a free BBS-only user with no shell access) wasn't supposed to do anything in the account even in places where their UID would've granted them the access.

Spinning up a new VM for each user wasn't an option back then.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds