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
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
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
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
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