/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

    • I'm not sure about that, but it at least "does" a version of 7.1 that this brand new card doesn't....
    • Floorp 12.15.2 by Razvan Serea Floorp is a cutting-edge web browser that combines the trusted foundation of Mozilla's Firefox with a unique Japanese perspective, offering users an exceptional online experience. This open-source browser prioritizes privacy, customization, and security. Floorp is transparent, with no user tracking or data sharing, and it's completely open source. With a strict no-tracking policy and full transparency, your personal information remains private. As an open-source project, Floorp not only shares its source code but also its build environment, inviting users to contribute and build their unique versions. The regular updates, based on Firefox ESR, ensure that you always have the latest features and security enhancements. Floorp key features: Strong Tracking Protection: Floorp offers robust tracking protection, safeguarding users from malicious tracking and fingerprinting on the web. Flexible Layout: Customize Floorp's layout to your heart's content, including moving the tab bar, hiding the title bar, and more for a personalized browsing experience. Switchable Design: Choose from five distinct designs for the Floorp interface, and even switch between OS-specific designs for a unique look Regular Updates: Based on Firefox ESR, Floorp receives updates every four weeks, ensuring up-to-date security even before Firefox's releases. No User Tracking: Floorp prioritizes user privacy by abstaining from collecting personal information, tracking users, or selling user data, with no affiliations with advertising companies. Completely Open Source: The full source code for Floorp is open to the public, allowing transparency and enabling anyone to explore and build their own version. Dual Sidebar: Floorp features a versatile built-in sidebar for webpanels and browsing tools, making it perfect for multitasking and quick access to bookmarks, history, and websites. Flexible Toolbar & Tab Bar: Customize your browser with Tree Style Tabs, vertical tabs, and bookmark bar modifications, catering to both beginners and experts in customization. User-Centric Web Experience: Floorp prioritizes user privacy and collaboratively blocks harmful trackers. Floorp 12.15.2 changelog: fix: reset tab drag state on dragend to prevent position offset (#2488) by @Ryosuke-Asano in #2497 fix(workspaces): hide split view wrapper when all tabs are hidden by @Ryosuke-Asano in #2495 fix(split-view): prevent stuck pointer-events:none after drag on web content by @Ryosuke-Asano in #2492 feat(design): add Gecko 152 CSS variable aliases and Lepton compatibility layer by @Ryosuke-Asano in #2494 fix(workspaces): exitOnLastTabClose no longer quits Floorp when closing the last tab by @Ryosuke-Asano in #2498 Download: Floorp 64-bit | 95.0 MB (Open Source) Links: Floorp Website | Github Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I can barely recall getting web results from a file search... I must've turned it off long ago. 26H2 is Insider's Preview build 26300.8697, which I am running, atm. It is not available for people running the standard commercial builds of Windows--only for the beta test Insider's group. But anyway, as mentioned in the thread, this feature has been around for a long time...
    • Speak for yourself. I saw it on Feedly, came here to read it, and did read it until the steps to activate. I skipped them to read the last paragraph. I knew it was probably not "the most requested feature", but knowing Neowin, I knew the article was going to talk about a feature nonetheless. I've seen Neowin in its best and worst.
    • See if this article I wrote the other day works for you.
  • Recent Achievements

    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
    • First Post
      DrWankel earned a badge
      First Post
    • Reacting Well
      DrWankel earned a badge
      Reacting Well
    • Week One Done
      Supreme Spray LV earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      507
    2. 2
      +Edouard
      185
    3. 3
      PsYcHoKiLLa
      84
    4. 4
      Michael Scrip
      78
    5. 5
      Steven P.
      76
  • Tell a friend

    Love Neowin? Tell a friend!