- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Creating a user account with system wide privilege...
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-07-2009 05:45 AM
тАО07-07-2009 05:45 AM
How do I create an account with system wide privilges which has /bin/sh as its default shell.
Also how do I make the account is in the sys group?
Basically, I need the user account to run all privilege commands which normally only root has access to.
For example I need to be able to run the following privilege root commands
netstat,mount,ifconfig,etc,etc.
Can anyone advise me how to create such a user account.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 06:14 AM
тАО07-07-2009 06:14 AM
SolutionTo add a user to the system group, just make sure that either its primary gid is system (which is gid 1), or that the user is also a member of the system group as specified in /etc/group.
Martin
A quick resolution to technical issues for your HPE products is just a click away HPE Support Center
See Self Help Post for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2009 07:11 AM
тАО07-08-2009 07:11 AM
Re: Creating a user account with system wide privileges
I'm aware you can add the user to the system group and then su - to root.
But idealy I would like a non root user account to run all privilege commands which root would allow me to run.
If there is a way to configure my user account then how can I set it up?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2009 07:22 AM
тАО07-08-2009 07:22 AM
Re: Creating a user account with system wide privileges
Yes - I answered that in the first paragraph of my previous response. :)
You can use dop (Division of Privilege) to assign privileges to non-root users. One of the pre-defined privilege classes is SuperUser, which allows the user to do anything root can. Or you can assign only specific privileges if you prefer, such as adding accounts, running backups, etc. You can also add your own custom privileges in addition to what the system has pre-defined, but this is a little trickier.
See man dop(8) for more details, but the short answer for your particular question is to run sysman dopconfig and set the user up with SuperUser privilege.
Martin
A quick resolution to technical issues for your HPE products is just a click away HPE Support Center
See Self Help Post for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2009 10:07 AM
тАО07-08-2009 10:07 AM
Re: Creating a user account with system wide privileges
Thank you for your help. I have read the man pages on "dop" and i'll try to set it up.
Danesh