proftpd

Delete user with command


I would like to know that how to delete a user in proftpd created with command:

adduser username-GroupManager --in group ftpusers --home /home/username/somewhere/

I have not found anything on the web.


Solution

  • vi /servers/proftpd/etc/passwd 
    shift + /meteo - search file for user meteo 
    dd - delete line
    esc + !wq + enter
    

    I hope this helps.