How to change ftp user password?

0

I need to change my FTP password, from an ubuntu server with the command line, can you help me?

Thank you all!

Oscar Acevedo Osses

Posted 2019-04-12T19:14:00.593

Reputation: 1

1Which FTP program do you use? Sometimes the credentials are shared by the passwd file, so adduser and deluser would be valid methods to change a user account. – zx485 – 2019-04-12T19:21:01.010

I'm using filezilla, but I need to change it by console – Oscar Acevedo Osses – 2019-04-12T19:26:21.580

Answers

0

here ist the documentation from command line arguments:

FileZilla Command Line Arguments

Looks there is no way from the command line.

The_C0der

Posted 2019-04-12T19:14:00.593

Reputation: 19

The FTP spec does not allow for ftp clients to instruct servers to change a password. This needs to be done server side, and outside of the FTP protocol. Filezilla is an FTP client, so a red herring. – davidgo – 2019-04-12T20:00:49.347

0

Generally you would ssh into tbe server (or connect via condole) and issue the command "passwd" command which will prompt to change your password or, as root, "passwd username". This will have the sude effect of changing yoyr ssh password - assuming you are not using public/private keys.

Note that some FTP servers can be configured to use a different authentication method (but generally use the users Linux password by default). If that is the case we would need to know the name of the FTP server as well as how its configured.

davidgo

Posted 2019-04-12T19:14:00.593

Reputation: 49 152

I haves diferents users for the server access and for FTP access, and when i use "passwd ftpuser" the console show me "?invalid command" ... – Oscar Acevedo Osses – 2019-04-12T20:02:49.857