Re:Changing unix password via TCP/IP Winsock (Delphi or C++)
Quote
Kenneth Sklander (sklan...@{*word*104}net.dk) wrote:
: On Tue, 12 Mar 1996 08:01:50 GMT, an...@spark.net.gr (Angelos
:
: >Does anyone knows how (and if) can I change a unix's host user
: >password from a Winsock compatible application written in Delphi or
: >C++ ?
: >
: >Is there a free/Shareware application available , to do this?
: >
: >Thanks a lot,
:
: Contact the remote execute service and use the unix password prog to
: change it.
:
: If you have any further question I can mail you an example app.
I'd like to see this example. Especially since the passwd program opens
/dev/tty to get the old and new passwords from the user. Remote execute
won't have a tty. Try running vi as a remote execute and see. And no,
I/O redirection won't work for the same reason.
I suspect that if you REALLY want this to happen, you'll have to write
some service program on the Unix side that will change passwords for you.
But you're really opening a HUGE door to breakins unless you take appropriate
precautions.
Chris
--