/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

    • My Photos app is version 2026.11050.1001.0 and it remembers the window size and position. My Snipping Tool is version 11.2602.49.0 and it can capture the taskbar.
    • MusicBee 3.6.9668 by Razvan Serea MusicBee is an application geared toward managing extensive music collections, easy to use and with a comprehensive feature set. It makes it easy to organize, find, and play music files on your computer, on portable devices, and on the Web. It provides playback of a wide range of audio formats, smart playlists with the ability to discover and play new music from the web, advanced tag editing with automated artwork and tag look up, folder monitoring, automated file re-organization, portable device synchronization, and secure CD ripping with AccurateRip verification. MusicBee features: Supported formats: MP3, AAC, M4A, MPC, OGG, FLAC, APE, TAK, WV, WMA and WAV. Audio CDs: Audio CD playback and ripping (with CD-Text capabilities) is supported. CD tracks can be ripped (in fast or secure mode) as individual files or as a single album with embedded cuesheet. Conversion: Conversion from and to all supported formats as metadata are preserved. Synchronization of tags only (in case that the output file already exists) instead of reencoding is possible. ReplayGain support: both playback and calculation. File Organization: Organization and renaming of music files into folders and files based on tag values such as artist, album, name, track number, etc. that can be specified. MusicBee can do this automatically for all files in a music library or the user can choose the files or folders themselves. Web Browsing: Browsing of the web using Mozilla's XULRunner environment. Scrobbling: Tracks played from MusicBee can optionally be scrobbled to Last.fm. Customizable user interface layout. Customizable keyboard shortcuts. MiniLyrics support Download: MusicBee 3.6.9668 | MusicBee Portable | ~9.0 MB (Freeware) Download: Windows Store Edition View: MusicBee Home page | Release Notes | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • On xiaomi hyperos there's also an option to disable google assistant. I've got everything disabled. Only thing I do have installed is a web wrapped for duck.ai which claims to let you use various AIs anonymously
    • I need to understand the rationale of not shipping all of these K2 improvements in a single update/release. It's giving "we will fix Windows 11 but no commitments". It seems to me that they just announce these improvements just to appease the community.
    • The term "RTM" is long gone starting with Windows 10. Every current release is a GA build. This is the result of MS making Windows as a Service (WaaS).
  • Recent Achievements

    • Conversation Starter
      sumytbe earned a badge
      Conversation Starter
    • One Year In
      B4dM1k3 earned a badge
      One Year In
    • One Year In
      DarkWun earned a badge
      One Year In
    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      517
    2. 2
      +Edouard
      186
    3. 3
      PsYcHoKiLLa
      87
    4. 4
      Michael Scrip
      80
    5. 5
      Steven P.
      73
  • Tell a friend

    Love Neowin? Tell a friend!