I would like to run a script of user USERA fron another user called USERB
i use the following command: su - USERA -c ScriptName
but i am prompting to suplly the password of USERA
How can I do thet without passwrd prompt ?
Thanks at advance
Sam
I would like to run a script of user USERA fron another user called USERB
i use the following command: su - USERA -c ScriptName
but i am prompting to suplly the password of USERA
How can I do thet without passwrd prompt ?
Thanks at advance
Sam
One way of doing what you want would be to install the sudo utility.