2010-04-07 Chris Allegretta <chrisa@asty.org>

* doc/man/nano.1,nanorc.5: Add warnings about using backup 
          mode as root due to the Dan Rosenberg security analysis.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4493 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2010-04-07 06:20:55 +00:00
parent 9e73aeb10f
commit e68616b799
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-04-07 Chris Allegretta <chrisa@asty.org>
* doc/man/nano.1,nanorc.5: Add warnings about using backup
mode as root due to the Dan Rosenberg security analysis.
2010-04-02 Chris Allegretta <chrisa@asty.org>
* files.c (do_writeout): Expand modification check to include both the
original file's device ID and inode number as reasons to warn the

View File

@ -62,7 +62,8 @@ line.
.TP
.B \-B (\-\-backup)
When saving a file, back up the previous version of it to the current
filename suffixed with a ~.
filename suffixed with a ~. This option is not recommended when editing
files as root due to potential security implications.
.TP
.B \-C \fIdir\fP (\-\-backupdir=\fIdir\fP)
Set the directory where \fBnano\fP puts unique backup files if file

View File

@ -451,7 +451,8 @@ When writing a file, append to the end instead of overwriting.
When writing a file, 'prepend' (write at the beginning) instead of overwriting.
.TP
.B backup
When writing a file, create a backup of the current file.
When writing a file, create a backup of the current file. This option is not
recommended when editing files as root due to potential security implications.
.TP
.B firstfile
Move to the first file when using the file browser (reading or writing files).