Im trying to edit nessusd.conf but I keep getting an error message :( I think I might have to edit it in the root shell but I don't know how and how would I get to the file from the root shell? Any help would be appreciated
Printable View
Im trying to edit nessusd.conf but I keep getting an error message :( I think I might have to edit it in the root shell but I don't know how and how would I get to the file from the root shell? Any help would be appreciated
Two ways, actually three, if you want to do it from the CLI completely:
( 1 ) In a root shell, type mc - for Midnight Commander - it will be a root File Manager screen, if you started it from a root screen. Now, all you have to do is click to navigate to your file, click on the file to edit it...
( 2 ) Locate "File Manager - Super User Mode" from within the KMenu, I have Knoppix v3.4, hard drive installed, and I can find it in the following: KMenu -> System -> More Programs. It will ask you for your "Administrator" or root password, and then bring up a Konq screen for you to navigate with, follow to your file, and edit it...
( 3 ) In a root Konsole screen, you can do it all by CLI commands:
cd /... to the directory / folder where your file is residing...
kwrite nessusd.conf or use what ever editor you prefer, vim, vi, kate, joe, etc...
Hope this helps
to be more compilcated vi or emacs could be used directly under the console. but that is a bit hard on a new user. powerful tools though.,
Even the old (and to me familiar) comands echo and cat could be used i guess.
or if you want several "files" merged as one new file.Code:echo whatever_i_want_added_to_END_of_nessusd.conf >> nessusd.conf
Code:cat file1>newfile file2>>newfile file3>>newfile....
Thank you guys :D , also is knoppix std all that different from knoppix?
details such as what programes and versions there are... no great insurmountable diferences.
A great tutorial that I recently learned about is vimtutor.
I learned alot about using vi/vim with it.
Just type "vimtutor" at a shell.
oh, might be some sligth diferences as to hardware support...