Results 1 to 2 of 2
I have a box that's used as an SFTP server. All users have restricted shell so they can only use SFTP to send and receive files. But it makes it ...
- 02-03-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 1
Creating Web Page for users with restricted shell to change system pw
I have a box that's used as an SFTP server. All users have restricted shell so they can only use SFTP to send and receive files. But it makes it hard to have them change their passwords.
I thought that if we had a web page set up where the user could enter their username, old password, new password and confirmed new password, that this would be the easiest solution. Can anyone point me in the right direction as to where I could borrow some php code that would do this?
- 02-05-2011 #2Just Joined!
- Join Date
- Oct 2008
- Posts
- 44
I don't know how much it will help, but take a look at this page for starters:
Change Linux or UNIX system password using PHP script


Reply With Quote