OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: pucho on February 23, 2005, 11:29:27 am

Title: File Editing
Post by: pucho on February 23, 2005, 11:29:27 am
If a file is owned by root, can it be edited by a program other than vi?
Any clues appreciated. Thanks in advance.
Title: File Editing
Post by: Pyrates on February 23, 2005, 12:06:52 pm
Sure, as long as the program is started by root (or setuid, but that's a security hazard). Check out nano, that's a great one

Or what do you mean? Like in "vipw"? Try "export EDITOR=<editorname>", than another editor than vi is used...

Cheers
Philipp