Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TSM: How to execute non root user commands ? 1

Status
Not open for further replies.

TSch

Technical User
Jul 12, 2001
557
DE
Hi everybody,

we're trying to backup a server. Problem is that we need to execute certain commands for server shutdown (before backup) and restart (after backup). These commands should be run by TSM automatically as needed.

But these commands cannot be run by root user. Only by the user for that specific server.

How can we get TSM to run these commands ?

Any ideas ?

Thanks in advance !

Regards
Thomas
 
You can use command "su".
For example, backup oracle using "rman", The command is "
su - oracle -c "rman ..."

goodluck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top