How can I reset proftpd user password?
One of our ftp user is forget his pw and now I try to reset it but no luck. Our FTP server is running proftpd server.
Thanks, |
You just need to reset the password for the user via the command line.
As root: Code:
passwd username |
this command will work with virtual FTP user?
|
Most users, including your "virutal ftp user" as you put it, are handled by the Linux OS. Some applications use their own databases but ftp and other low-level apps will usually use the Linux OS to take care of it.
reset the password with the command provided and you will get the desired result. |
when I running that command and this is what I get:
[root@ftp pham]# passwd wemade passwd: Unknown user name 'wemade'. Can you tell me how can I find out what virtual FTP users are setup on the server? |
That user doesn't look to be set up on the server at all. Did the user possibly get removed accidentally? That would be the method to reset a proftp users password(I worked for a web host company and did several of these a week for customers). You may need to re-add the user:
Code:
useradd -c 'FTP User Account' -d /path/to/ftp/folder -s /sbin/nologin |
Ok. I was able to add a new virtual ftp user now this user want to setup that when he send a link (see below) to a third party. All the party can do is download only NO edit delete.
ftp.xxx.com/home/images Is there possible to do that? if so can you provide me step by step on how to configure on ftp server? Thanks, |
Do you have apache running on the server? If so just configure a virtual host for the directory and turn +Indexes on so that your 3rd party users can see all the files uploaded and can click to download them:
Take a look at the bottom section relating to the vhost. If you have any questions just ask. http://www.bookofzeus.com/articles/s...ost-in-ubuntu/ |
I'm not sure if this is what I'm looking for. When I google and it say something about anonymous user account. Is that ring a bell for you?
|
Can I get an update on this?
|
You can set up anonymous FTP but thats not the easiest solution, esp if the 3rd party trying to get the file is not technically savvy. It's alot easier to tell someone to pull up their IE and go to a link than it is to tell them to install Filezilla and connect via FTP.
PLEASE DON'T BUMP YOUR POST! |
I agree I would rather just give the URL to the third party instead download ftp client. Can you provide me the easier way step by step on how to do that? According to the link above I'm not sure where to start? Please help...
|
Can't really give you more detailed walk through than already provided. Are you getting hung up on a specific step or are you just not sure where to start?
|
Sorry it more like I don't know where to start
|
Can I get an update on this?
|
Quote:
So your first step is to verify if apache is installed and see if you already have any virtual hosts set up. Can you let us know what Linux distro you are using so we can give you an idea of where to start? |
how can I find out what Linux distro is install on our server?
|
All times are GMT -5. The time now is 06:22 AM. |