use sudo Ashok Antony wrote:
I am running a script as user1. This script contains lot of commands in it. From the script If I want to run some set of commands as user2, what all the steps should I need to follow ?
From the script If I want to run some set of commands as user2, what all the steps should I need to follow ?