- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- temp login with root access right
Operating System - Linux
1823143
Members
3568
Online
109647
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
Discussions
Forums
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО02-11-2007 06:04 PM
тАО02-11-2007 06:04 PM
I want to create a login which has the SAME permission as root user , what can I do ? thx
p.s. the reason to create this ID is I want to send the ID to non-IT user ( remote site ) to run some script , and I will delete this ID after use .
p.s. the reason to create this ID is I want to send the ID to non-IT user ( remote site ) to run some script , and I will delete this ID after use .
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2007 07:54 PM
тАО02-11-2007 07:54 PM
Re: temp login with root access right
Use sudo. Create temporary user and edit comands/actions that this user need in /etc/sudoers. Read man page for sudoers and sudo for more details.
Another approach would be creating ssh (ssh2) public key for the root and giving it to your remote user. Obviously you need to set up public key only logins in sshd. This way your remote user can connect without using password.
Sudo option is more restrict and controllable though.
Another approach would be creating ssh (ssh2) public key for the root and giving it to your remote user. Obviously you need to set up public key only logins in sshd. This way your remote user can connect without using password.
Sudo option is more restrict and controllable though.
So computers don't think yet. At least not chess computers. - Seymour Cray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2007 07:58 PM
тАО02-11-2007 07:58 PM
Solution
although it's not recommended for security issues you can add a user with uid and gid 0
and it'll act as additional root on the system.
You can also add a regular account, modify the /etc/sudoers file (with visudo utility) and add just the commands that are required by that non IT user, which is a better way (again for security).
and it'll act as additional root on the system.
You can also add a regular account, modify the /etc/sudoers file (with visudo utility) and add just the commands that are required by that non IT user, which is a better way (again for security).
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP