Is there any way to switch the user login between the current session? We are using 'su' command but it is asking for the password.This we want to implement in script so there any way to pass password as an argument or any other command?Please help us.Thank you.
We are using our development id to run some scripts but for some file transfer we required to login with other user id. Currently we use su , but the issue we face is it asks for password. So, we are unable to perform this operation through script. Do you have any ideas/suggestions ?
Use indirection to put the password into the input stack.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle