- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Access to SAM using your own login
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
Discussions
Discussions
Forums
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
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
тАО07-22-2009 08:50 AM
тАО07-22-2009 08:50 AM
Access to SAM using your own login
I have added my login to the following group to no avail: adm, sys and bin
Please let me know if you can provide assistance.
thank you,
Marylou
HP 11.23
RX 7640 -Itanium
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 09:01 AM
тАО07-22-2009 09:01 AM
Re: Access to SAM using your own login
#sam -r
This activates the Restricted SAM Builder, which allows you to enable or disable selected SAM areas for users.
For each user given restricted access, SAM creates a file /etc/sam/custom/login_name.cf that defines the user's SAM privileges. SAM uses this file to give users access to the indicated areas.
When users execute SAM, they will have superuser status to the areas you defined and will only see those SAM areas in the menu. Areas that do not require superuser status (such as SD) will also appear and will execute using the user's ID. Any other area will not appear. If non-superusers without SAM privileges try to run SAM, they will receive a message that they must be superuser to execute SAM.
When running restricted versions of SAM, there are no shell escapes on terminals and the list menu is disabled. This prevents users from getting superuser access to restricted areas of SAM. You can also add your own applications to SAM and set them up for restricted access.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 09:11 AM
тАО07-22-2009 09:11 AM
Re: Access to SAM using your own login
use sam -r command, to configure non-root user to access SAM functionality.
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 09:24 AM
тАО07-22-2009 09:24 AM
Re: Access to SAM using your own login
>>Login as root Use sam -r command to enable access to Non root users.It will create a file with Non root username in /etc/sam/custom directory,confirm it.
>>Login as Non root user and use,
#/usr/sbin/sam command to access SAM or add the /usr/sbin path to PATH variable and use #sam command
Adding /usr/sbin to PATH variable,
#export PATH=$PATH:/usr/sbin
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 09:44 AM
тАО07-22-2009 09:44 AM
Re: Access to SAM using your own login
/bin/ksh: sam: not found
I exported PATH=$PATH: /usr/bin to my .profile but still get the error above when I tried to invoke "sam".
Marylou
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 09:49 AM
тАО07-22-2009 09:49 AM
Re: Access to SAM using your own login
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 09:57 AM
тАО07-22-2009 09:57 AM
Re: Access to SAM using your own login
/bin/ksh: sam not found
MArylou
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 09:58 AM
тАО07-22-2009 09:58 AM
Re: Access to SAM using your own login
# whence sam
/usr/sbin/sam
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 10:03 AM
тАО07-22-2009 10:03 AM
Re: Access to SAM using your own login
/usr/sbin/sam
Then I what do I do next
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 08:59 PM
тАО07-22-2009 08:59 PM
Re: Access to SAM using your own login
Did you add privileges to Non root user with sam -r command? If it addedd, confirm the file with your Non root user name in /etc/sam/custom directory is exists.
Regards,
LIJEESH N G