GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: add users using restricted SAM or sudo
Operating System - HP-UX
1847930
Members
3672
Online
104021
Solutions
This widget could not be displayed.
Forums
Categories
This widget could not be displayed.
Company
Local Language
back
This widget could not be displayed.
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