|
series of programes which are to be executed in other user's permissions
I have series of programe which are to be executed in other user's permissions.
ex :
1. Two programes : programe1 and programe2.
2. Logged into the server as a user say "sri"
3. If I execute the programes system shows with "sri" owner.
sri ohter programe1
sri other programe2
4. I have sudo permissions, if I run with sudo system shows "root"
5. But i want to take the permission as "kanth" (which is other user)
can i user any command like "su" with parameter
Any help would be greatly appreciated.
|