walsh_stephen
asked on
Run a Solaris Shell Script as a startup service using specific user credentials
Let me preface - I'm somewhat new to the Unix world.
I am trying to run a Shell script upon boot on some Solaris 10 Systems but I need the scripts to execute in the backgroud as specific users. Is there a simple way to accomplish this ?
I am trying to run a Shell script upon boot on some Solaris 10 Systems but I need the scripts to execute in the backgroud as specific users. Is there a simple way to accomplish this ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That worked as advertized. Thanks!
Startup script has the convention of its name starts with S
You many put in the script the command you want, e.g.
su - username -c command