Operating System - HP-UX
1753532 Members
5902 Online
108795 Solutions
New Discussion юеВ

Re: Running restricted SAM from a restricted shell

 
SOLVED
Go to solution
Robert Yoder
Occasional Contributor

Running restricted SAM from a restricted shell

What method, if any, would allow a user configured with a restricted shell to execute a restricted SAM session?
2 REPLIES 2
Brian Markus
Valued Contributor

Re: Running restricted SAM from a restricted shell

You could use sudo to allow the user to launch sam, if you've set up the restrcitions in sam properely this should work nicely.

Hope this helps

Brian
When a sys-admin say's maybe, they don't mean 'yes'!
Bill Hassell
Honored Contributor
Solution

Re: Running restricted SAM from a restricted shell

There's no possible way for SAM to runn from a restricted shell. By default, the / directory becomes the user's $HOME so a restricted user cannot see anything above their $HOME. Therefore, /usr/sbin/sam does not exist.

Get the free software program called sudo. Not only does it allow highly restricted commands but even the options given to a command. Get sudo from the porting center: http://hpux.connect.org.uk or any of their mirror sites.


Bill Hassell, sysadmin