I need to connect to unix and execute few commands to reset password of a user (on unix). I understand I cannot go with JSP to accomplish this and I have to use java code. In the link connect to unix , it is mentioned about enchanter jar. Could you please explain what enchanter jar is all about and how to connect to unix.
P.S: I am new to JavaRanch and Java, please excuse any mistakes.
Welcome to the Ranch.
If I understood your question correctly, you wish to execute some command on a remote unix machine, using java. I am not sure if this is even possible.
However, i will move your topic to a more appropriate forum, and hopefully someone might be able to help you out.