- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Restrict SAM
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:19 AM
06-04-2003 07:19 AM
I'm trying to create a restrict sam for a user but when a I log in with that user and try to enter sam I receive the folowing error:
you must have superuser privilege(root) to
enter SAM
Does anyone have any clue?
The file /etc/sam/custom/user.cf has been created.
thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:25 AM
06-04-2003 07:25 AM
Re: Restrict SAM
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:27 AM
06-04-2003 07:27 AM
Re: Restrict SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:28 AM
06-04-2003 07:28 AM
Re: Restrict SAM
1-loging as root
2-type "sam -r" to setup restricted sam
3-set the users start up program to /usr/sbin/sam
this way he can only use sam on the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:33 AM
06-04-2003 07:33 AM
Re: Restrict SAM
/etc/sam/custom/user_name.cf
/etc/sam/custom/user_name.tp
/etc/sam/sam_custom.cu
Are they all there ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:42 AM
06-04-2003 07:42 AM
Re: Restrict SAM
I just have the following files:
/etc/sam/custom/user.cf
/etc/sam/custom/default.tp
this same configuration is working on another machine.
It is a hp-ux 11.00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:42 AM
06-04-2003 07:42 AM
Re: Restrict SAM
The only files I see are the user.cf file and a "default.tp" file. It works for me on 11.11 that's not terribly up to date with patches (PHCO_24118 is the latest SAM patch I have). What OS and patch level are you dealing with?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:45 AM
06-04-2003 07:45 AM
Re: Restrict SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:51 AM
06-04-2003 07:51 AM
Re: Restrict SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:56 AM
06-04-2003 07:56 AM
Re: Restrict SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:56 AM
06-04-2003 07:56 AM
Re: Restrict SAM
1) Log in as root
2) Execute sam -r
3) On the screen, check if the user "Has SAM privileges" marked as "yes" or "no"
4) If marked "no", then alloacate proper privileges.
5) Save and exit.
6) Now log in as user and try running SAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 08:05 AM
06-04-2003 08:05 AM
Re: Restrict SAM
# sam -f skchan
.. are you able to get the sam screen with ONLY the allowed operation ? What "sam -f" will do is it'll load the control file /etc/sam/custom/skchan.cf as if you're running SAM in restrictive mode setup for skchan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 08:27 AM
06-04-2003 08:27 AM
SolutionYou may want to re-create Restricted SAM for this user - first, disable sam in sam -r for user, then delete the user.cf file - then re-setup this user....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 11:37 PM
06-21-2004 11:37 PM
Re: Restrict SAM
I am experiencing the same problem on two machines with HPUX ver 11.00. I have followed the procedure for configuring a restricted sam user to the letter. [I have successfully done so on two other machines that are HPUX 10.20.] I have installed the patches through March 2004 and still experience the problem. If anyone has determined a solution please let me know!!
Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2006 06:46 AM
10-07-2006 06:46 AM
Re: Restrict SAM
All you need to do is run following command:
$/usr/sbin/sam
Now you can see the sam areas you have granted priviledges...
Regards
Deepak