/etc/vsftpd.conf ...cant edit


Recommended Posts

hi ! I have tried to edit my vsftpd.conf so many times now ... I have tried using "vi", "gedit" both user and root I have chmod'ed the file to allow full read and write so open every tom, dick or harry can see it... but I cannot for the life of me edit it! every time i open it with vi (the only thing i have sucessfully opened it with)

I messes up with the keyboard .... and when i try to use gedit it tells me to F my self

Link to comment
https://www.neowin.net/forum/topic/1119342-etcvsftpdconf-cant-edit/
Share on other sites

use nano - so 'nano vsftpd.conf'.

Go here to learn how to use vi - http://vim-adventures.com/

edit - more info:

to use vim you need to browse to the text you want using the hjkl keys and then switch to input mode, edit the text, switch out of input mode and then write the file.

For quick edits nano is easier - ctrl+w to find some text. ctrl+x to close nano and save the file.

for ubuntu/debian: apt-get install nano

for redhat/fedora/cent: yum install nano

use nano - so 'nano vsftpd.conf'.

Go here to learn how to use vi - http://vim-adventures.com/

edit - more info:

to use vim you need to browse to the text you want using the hjkl keys and then switch to input mode, edit the text, switch out of input mode and then write the file.

For quick edits nano is easier - ctrl+w to find some text. ctrl+x to close nano and save the file.

for ubuntu/debian: apt-get install nano

for redhat/fedora/cent: yum install nano

ahhh thank you I no longer wish to shoot the server :D

use nano - so 'nano vsftpd.conf'.

Go here to learn how to use vi - http://vim-adventures.com/

edit - more info:

to use vim you need to browse to the text you want using the hjkl keys and then switch to input mode, edit the text, switch out of input mode and then write the file.

For quick edits nano is easier - ctrl+w to find some text. ctrl+x to close nano and save the file.

for ubuntu/debian: apt-get install nano

for redhat/fedora/cent: yum install nano

wouldnt be able to tell me how to get this ftp working would ya haha ? I have turned off annoymous ftp and I turnned on SFTP and I thought I turned on authentication FTP as well ... but my ftp client still is getting refused ... just differently...well actually i got the SFTP working just not the ftp but eh who needs that lol :p

Files in the /etc folder are usually protected and only editable by root. If your OS variant supports sudo, you should toss that in before your editor on the command line... like:

sudo nano /etc/vsftpd.conf

otherwise, use su first, like:

su

nano /etc/vsftpf.conf

exit

Here, I have used nano as an editor, you could use vi, emacs, whatever, and the exit after the su is because it starts a shell in the super-user account.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • As someone who isn't in the EU what is all this gatekeeper stuff about anyways?
    • The data center gold rush has tossed all forms of sensibility and reasoning right out of the window. The craziest part being that AI infrastructure isn't driven by consumer demand. It's being driven by manufacturers to force AI onto the market, consumers be damned.
    • Apple has not said whether the new prices are temporary ..... LOL.... These are the new prices peeps, because they will still sell them. Everybody will get used to the price hike = more Profit!
    • EU says AWS and Microsoft Azure should be treated as DMA gatekeepers by Pradeep Viswanathan Under the European Commission's Digital Markets Act (DMA), a company is presumed to be a gatekeeper if it meets certain quantitative thresholds. However, the Commission can still investigate and designate a company even if it does not meet the numeric thresholds, provided the service has a major market impact. The European Commission launched its investigations into AWS and Azure on November 18, 2025, to address unfair or anti-competitive practices in the cloud sector. Today, the European Commission has informed Amazon and Microsoft of its preliminary view that their cloud computing services, AWS and Azure, should be designated as gatekeepers under the DMA. The EC highlighted that Amazon Web Services (AWS) and Microsoft Azure are the largest and second-largest cloud computing services in the European Union. Both of these platforms act as important gateways between businesses and their customers in the EU. The EC further mentioned that AWS and Azure have reached significant turnover, built large and entrenched user bases, and benefit from high switching costs and customer lock-in. Furthermore, their operational capacity and investments appear to have outpaced those of competitors. Teresa Ribera, Executive Vice-President for Clean, Just and Competitive Transition, said the following: It is important to note that the findings are preliminary and do not decide the final outcome. Amazon and Microsoft can now review the findings and respond to the Commission. However, if the Commission confirms its preliminary findings, it will formally designate Amazon and Microsoft as gatekeepers for AWS and Azure. Once designated, Microsoft and Amazon will have six months to bring their cloud services into full compliance with the DMA’s rules and regulations.
    • will EU users be getting the extra 1yr update for free again?
  • Recent Achievements

    • First Post
      kinowa earned a badge
      First Post
    • Rookie
      krychek57 went up a rank
      Rookie
    • Grand Master
      Jaybonaut went up a rank
      Grand Master
    • One Year In
      Philsl earned a badge
      One Year In
    • Dedicated
      Scoobystu earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      436
    2. 2
      +Edouard
      168
    3. 3
      PsYcHoKiLLa
      133
    4. 4
      Xenon
      76
    5. 5
      Michael Scrip
      75
  • Tell a friend

    Love Neowin? Tell a friend!