[Ilugc] Running Commands as a different user

  • From: linux@xxxxxxxxxxxxxxxx (Suresh Ramasubramanian)
  • Date: Tue Jan 23 08:36:56 2007

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 ?


Other related posts: