I have sample.sh script in /u01/dump location. I'm running it from root.
My requirement is while running the sample.sh script it has to be login as oracle1 user using SU (super user) and display all files in /u02/dba/ directory.
|
I have My requirement is while running the |
||||
|
|
|
It may be dirty hack but it will work :) Modify So that, whenever you run script, the point where you changing user, it will show list of it's home directory. |
||||
|
|