I have an ftp server setup that uses linux user authentication. However as of right now, they have to use whatever password I give them. What I am trying to do is create an interface using php and expect or something that will authenticate the users current password and then ask for the new one and change it if it verifies. I am new to expect and scripting in linux all together. Does anyone have anything or know of somehting that will help me out? I have looked at this:
http://www.cyberciti.biz/tips/change...hp-script.html but am unsure on how to make it authenticate the users before changing the password. Any help on this would be GREATLY appreciated. Thanks