i have a shell script which calls a java program with username and password arguments.
#!/bin/ksh
#set some classpaths here
#finally run the command
java com.test -u $U -p $P
Now when i run it, the password shows up in the list of processes. I am not the admin on the server so cant change the permissions on ps process. is there any way that i can provide password to this command from a file or using any buffer and it doesn't show up in processes list.