RE: changing a user's password on linux using jsp exec.

2002-02-14 Thread Randy Layman
1. I believe that you want a PrintWriter or add \n to the end of the passwords (the user presses enter when running passwd). This is probably causing your symptom of nothing happening (passwd waiting for you, you waiting for passwd). 2. Only some users (maybe just root) can

RE: changing a user's password on linux using jsp exec.

2002-02-14 Thread Dahnke, Eric
The only password you could ever change is the one for the user Tomcat is running as (nobody i believe). I've been down the road you're going down. Your options are: -1- (compiling apache/tomcat to run as user root (unreasonable on anything other than a intranet environment). big security

RE: changing a user's password on linux using jsp exec.

2002-02-14 Thread Al-Qalb el-Mounir
It did not work for either the '\n' nor the PrintWriter! Do you have an idea why? I will address the security issues later, this is an exercise only to show that our company can use such a technique. Any ideas? Thanks. %@ page import=java.io.DataInputStream% %@ page

RE: changing a user's password on linux using jsp exec.

2002-02-14 Thread Al-Qalb el-Mounir
Hi Dahnke, The cron idea seems interesting. Do you have something working? Or even an example for me to follow. Thanks. --- Dahnke, Eric [EMAIL PROTECTED] wrote: The only password you could ever change is the one for the user Tomcat is running as (nobody i believe). I've been down the

RE: changing a user's password on linux using jsp exec.

2002-02-14 Thread Dahnke, Eric
a user's password on linux using jsp exec. Hi Dahnke, The cron idea seems interesting. Do you have something working? Or even an example for me to follow. Thanks. --- Dahnke, Eric [EMAIL PROTECTED] wrote: The only password you could ever change is the one for the user Tomcat is running