Operating System - HP-UX
1831323 Members
3421 Online
110023 Solutions
New Discussion

Add a custom process (script) to SAM menu?

 
SOLVED
Go to solution
Chet Woods
Frequent Advisor

Add a custom process (script) to SAM menu?

Hi all,
I've been asked to "pass down" the Business Copy process to our operators. They do not have root access, so I wanted to put these scripts in SAM. (as custom processes that they can run) I'm pretty sure this can be done, but not so sure on how to do it. Any help would be great. Thanks in advance.

Chet
3 REPLIES 3
Bernie Vande Griend
Respected Contributor
Solution

Re: Add a custom process (script) to SAM menu?

Just go into sam as root and go to the menu where you want to add the script.

Then just tab up to Actions: Select "Add Custom Application"
Then fill in the screen, its pretty self-explanatory.

If you users to run sam as their own useid, then you'll want to set up restricted sam using sam -r from root.
Ye who thinks he has a lot to say, probably shouldn't.
James R. Ferguson
Acclaimed Contributor

Re: Add a custom process (script) to SAM menu?

Hi Chet:

The man pages for 'sam' provide your guide:

"To add functionality to SAM, select the "Add Custom Menu Item" or "Add Custom Menu Group" action items from the SAM Areas menu."

"You can easily add stand-alone commands, programs, and scripts to SAM. SAM is suspended while the executable program is running. When it finishes, the SAM interface is restored."

Regards!

...JRF...
Chet Woods
Frequent Advisor

Re: Add a custom process (script) to SAM menu?

Thanks guys, I guess I should've looked around a little more. But, i appreciate it. Everyday, I learn something new...

Chet