[scponly] Re: Let users change their passwords?
C.Schwabl at mobilkom.at
C.Schwabl at mobilkom.at
Tue Feb 4 10:21:50 EST 2003
Hello,
i have just played around with this topic and i think i found a solution for
non-chrooted
environments.
I changed the source so that the command passwd is a vailid command.
With this, users can change their passwords using a command like this:
ssh -t <user>@<hostname> passwd
passwd: Changing password for <user>
Enter login password: <old password>
New password: <...>
Re-enter new passwort: <...>
passwd (SYSTEM): passwd successfully changed for <user>
Connection to <hostname> closed.
Windows users can use a tool like plink (cmd-line ssh from putty
http://www.chiark.greenend.org.uk/~sgtatham/putty/) to change their pwd.
Any commends on this?
Still searching for a solution on using this with a chrooted-environment.
Some mechanism to sync the password file in the chrooted /etc/passwd to the
global /etc/passwd (or shadow)?
Would like to hear some opinions on this..
greetings,
Schwabl Christian
btw: scponly is a great tool. keep on the good work...
More information about the scponly
mailing list