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.


Similar Content



Slackware 14.0 - End User Changing Password Failed

Hi all,

I am slackware 14.0 user. Recently I face one problem. As a root i can change one of my normal user's (assuming Peter) password. However, when I login as Peter, and try to change the password, the system does not allow me to renew my password.


root@slackwa /etc# ls -la | grep shadow
-rw-r----- 1 root shadow 9 Nov 29 2013 gshadow
-rw------- 1 root root 0 Jun 20 2013 gshadow-
-rw-r----- 1 root shadow 2272 Apr 12 22:44 shadow
-rw------- 1 root root 2274 Apr 12 21:40 shadow-
root@slackwa /etc# ls -la | grep passwd
-rw-r--r-- 1 root root 2362 Apr 12 12:58 passwd
-rw------- 1 root root 2306 Jan 8 17:38 passwd-
-rw-r--r-- 1 root root 2305 Aug 11 2014 passwd~


peter@slackwa ~$ which passwd
/usr/bin/passwd
peter@slackwa ~$ ls -la /usr/bin/passwd
-rws--x--x 1 root root 68725 Sep 14 2012 /usr/bin/passwd*

peter@slackwa ~$ passwd
Changing password for peter
Old password:
Incorrect password for peter.
The password for peter is unchanged.

One thing I can assure is the password I input is correct. I have another slackware 14 running on Dell R410, but it does not has this problem.


Please kindly advice. Thank you.

Setting Root Password

Wow, I got my new Linux pc yesterday and it's very very fast. It's faster than my new MacBook.
So I go to the user account which also says administrator so I'm presuming that's the root owner?????? and I typed in my name and changed the password. The guy who sold it to me named the password user and the computer user. Yet when I go to the terminal my username and computer is still called user@user
How do I change the root password and computer name?

Setting Root Password

Wow, I got my new Linux pc yesterday and it's very very fast. It's faster than my new MacBook.
So I go to the user account which also says administrator so I'm presuming that's the root owner?????? and I typed in my name and changed the password. The guy who sold it to me named the password user and the computer user. Yet when I go to the terminal my username and computer is still called user@user
How do I change the root password and computer name?

550 Permission Denied Vsftpd

Hi, I'm having trouble configuring my vsftpd version 2.2.2 on Centos 6.6. I successfully log in, but I cannot make any changes (creating files, directories, whatever):
ftp> mkdir t
550 Permission denied.
ftp>

This is how my vsftp.conf looks:
Code:
anonymous_enable=NO
local_enable=YES
local_umask=022
dirmessage_enable=YES
listen=YES
pam_service_name=virtual-ftp
userlist_enable=YES
userlist_file=/etc/vsftpd.user_list
userlist_deny=NO
tcp_wrappers=YES
write_enable=YES
guest_enable=YES
guest_username=ftp
local_root=/mnt/storage/ftp

All users are mapped to the ftp user. /mnt/storage/ftp is owned by ftp and there are no permission problems (the mount point is /mnt/storage). I use pam for authentication, which seems to be working fine from what I can tell from the logs and the fact that I can log in, of course.

/mnt/storage is a linux partition and it's mounted like this:
/dev/sdb5 /mnt/storage ext4 defaults 0 0

Which is really unimportant, because I tried to use the root partition also, and I get the same problem.

On some site someone suggested allow_writeable_chroot=YES, but this directive is not identified by vsftpd.

I kind of ran out of ideas. Any suggestions?

Changing Password To A User

Hi
When i tried to change the password for a particular user as a root by using usermod command I didn't see any error at that time.But later when I tried to login again it is not accepting the new password as well as old password.Why its happening?Any help....

Can Not Connect Ftp Server

I have installed vsftp to the server , the status is running now , but when use the command "ftp localhost" , it pops the "421 Service not available." , would advise what is wrong ? thanks

bash-3.2# /etc/rc.d/init.d/vsftpd status
vsftpd (pid 580) is running...
bash-3.2# ps -ef |grep vsftpd
root 580 1 0 15:44 ? 00:00:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root 607 467 0 15:45 pts/0 00:00:00 grep vsftpd
bash-3.2# ftp localhost
Connected to localhost (127.0.0.1).
421 Service not available.

Force Password Change On VM Console In VMware

Hello,

I have CentOS 6.5 deployed as a VM on VMware ESXi. I want to force user to force password change even when they use VMware's vSphere client to access the VM console.

I tried the following two commands -

Code:
chage -d 0 username

Code:
passwd -e username

These commands force password change only when we start a SSH session for that user, not if that user access the VM directly via the client console. How do I achieve a force password change even when it is accessed via the client console?

Thanks

Bhushan Pathak

Installed Vsftpd But Can Not Use

I have install vsftpd and start it , but when when to try it by "ftp localhost" , but not work , would advise what is wrong ? thanks


#ps -ef |grep ftp
Code:
root     29896     1  0 10:53 ?        00:00:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root     29899 23821  0 10:53 pts/0    00:00:00 grep ftp

# ftp localhost
Code:
Connected to localhost (127.0.0.1).
421 Service not available.

I Didn't Enter A Password But It Is There.

I first did the "try it", running it from the CD. I had the option to install from there and did. I cannot download any thing. My user name is John and there are 5 dots in the password space? My version is: ubuntu 14.04 lts. I was not able to change the root to read-write so I could change the password. Nothing worked unbuntu does connect to my wifi.
I'm a real newbie but what I 've tried in ubuntu has impressed me.
Help please

User Migration Issues

Hello, I'm sort of a novice Linux user and was running into an issue with user migration. I'm trying to migrate users and groups from a RHEL 5.11 install to a CentOS 6.6 install, both systems are 64 bit. Initially I tried to do an rsync of the passwd, shadow, group and gshadow files with no luck. When trying to login with an existing account on the new server I get access denied. I tried to change the password on the new server, but even then it doesn't seem to change the password and I still get access denied. I then tried to tar up the four above files and then extracted them on the new server, but the same issue existed. I also created a new account on the old server, copied all the necessary files over to the new server and still have the same issues. Any ideas what I may be doing wrong or what I can try next? This is getting frustrating!

Thanks!