LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2015, 08:35 PM   #1
kotjnew
LQ Newbie
 
Registered: Apr 2015
Posts: 1

Rep: Reputation: Disabled
vsftpd - how to change a virtual user password?


Hi, I'm really a newbie when it comes to Linux, so please bear with me.

We have a working FTP using vsftpd with a pam.d database (by the looks of it).

I've found the list of users/password in the /etc/vsftpd/ folder called passwd, but they are all encrypted.

How can I change the password for a single user? I'm sorry I've been looking for over 3 hourw, still don't understand how to do this.

Thank you very much for whomever can help.
 
Old 04-09-2015, 03:26 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Hi,

You didn't say much about your setup. Anyways my guess is that you can run:
Code:
htpasswd /etc/vsftpd/passwd foo
to change the password of user foo.
See this for more details
Don't forget to make a backup of /etc/vsftpd/passwd first, so in case something goes wrong, you can restore /etc/vsftpd/passwd

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to edit PAM DB of VSFTPD (..add user, delete user, change user password ) jsaravana87 Linux - Server 1 10-02-2012 09:49 AM
How to manage user specific access in Linux using vsftpd and virtual user? tonyatvt Linux - Server 1 06-03-2012 03:44 AM
VSFTPD:How to have vsftpd ask for anon user to "send email for password"? dmurray8888 Linux - Networking 1 08-31-2008 07:04 PM
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 07:29 AM
VSFTPD - Change Password Remotely? foxbat77 Linux - Networking 0 08-31-2004 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration