i just want to do chmod on a file my_file but for that we must be su root. and finally that script will run through crontab
=============== ==========
#!/bin/ksh
PASSWORD="pass1 23"
echo $PASSWORD>su root
chmod 777 my_file
=============== ==========
I want to login as supervisor and then want to change the rights of the file before moving. but all has to be done through shell script which...