Results 1 to 2 of 2
hi, I installed vsftpd from yast online programs (I use suse 9.1), I can find the /etc/vsftpd.conf file but cannot edit it, I know I have to do it as ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-07-2004 #1
- Join Date
- Dec 2004
vsftpd accessing conf file
I installed vsftpd from yast online programs (I use suse 9.1),
I can find the /etc/vsftpd.conf file but cannot edit it,
I know I have to do it as root but how?
if I go to konsole, as root, I type vi /etc/vsftpd.conf, ok I can change the file but how do I save the file?
next, do I need to start the vsftpd service?
cause when I type service etc at the konsole, it does not recognise the command...
- 12-07-2004 #2
- Join Date
- Apr 2004
Q'n'D vi tut.
There are two modes in vi (vim), command mode and input mode.
To get to input mode just type a single "i"
To get back to command mode type ESC
To write and quit a file (from command mode)
To undo stuff (from command mode)
So this might be your session
i (go to input mode)
bla bla bla (add/change stuff)
ESC (go to command mode)
:wq (write and quit the file)
Also have a look at "vimtutor" for a more extensive explaination...
in Linux Computing we Trust