GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- add users using restricted SAM or sudo
Operating System - HP-UX
1847248
Members
3054
Online
110263
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-16-2007 05:07 AM
01-16-2007 05:07 AM
add users using restricted SAM or sudo
Hi all:
LDAP, NIS, NIS+ would be the ideal solution but unfortunately it is not allowed here. (Chalk it up to politics)
Working a script that will allow helpdesk personnel to add users to multiple HPUX systems via a ksh script. I have it done and it is using sudo to complete the task.
I have discovered that the helpdesk personnel use restricted SAM to add users and they go to each individual system to complete the task. They do not have the sudo rights.
My question - can I rework my script to have restricted SAM called from the command line to addusers across an enterprise? What woud be the restricted SAM command?
Thanks
LDAP, NIS, NIS+ would be the ideal solution but unfortunately it is not allowed here. (Chalk it up to politics)
Working a script that will allow helpdesk personnel to add users to multiple HPUX systems via a ksh script. I have it done and it is using sudo to complete the task.
I have discovered that the helpdesk personnel use restricted SAM to add users and they go to each individual system to complete the task. They do not have the sudo rights.
My question - can I rework my script to have restricted SAM called from the command line to addusers across an enterprise? What woud be the restricted SAM command?
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 05:33 AM
01-17-2007 05:33 AM
Re: add users using restricted SAM or sudo
use restrict SAM is the way to go. To set, sam -r, in the GUI, select the user name for helpdesk, then ground it with accounts for users and groups.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 05:37 AM
01-17-2007 05:37 AM
Re: add users using restricted SAM or sudo
But I do not want ther SAM GUI - add the users via command line
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP