- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: re : creating of superuser account
Operating System - HP-UX
1753554
Members
4216
Online
108795
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
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
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
тАО06-06-2011 03:34 PM
тАО06-06-2011 03:34 PM
re : creating of superuser account
Hi Guys,
Can I check how do create a similiar superuser account with superuser rights like root. Kindly advice??
Regards
Vincent
Can I check how do create a similiar superuser account with superuser rights like root. Kindly advice??
Regards
Vincent
nothing is better than to know more
- Tags:
- root
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2011 04:15 PM
тАО06-06-2011 04:15 PM
Re: re : creating of superuser account
you can install and configure sudo to give a regular user root privilege.
http://www.gratisoft.us/sudo/intro.html
http://www.gratisoft.us/sudo/intro.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2011 11:52 PM
тАО06-06-2011 11:52 PM
Re: re : creating of superuser account
This may be dangerous, be warned.
You can always use vipw(1m) to clone the root line and change the login name.
You can always use vipw(1m) to clone the root line and change the login name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 04:36 AM
тАО06-07-2011 04:36 AM
Re: re : creating of superuser account
Hi Vincent:
As Dennis noted, 'vipw' and create a secondary account with a UID=0. As Wilfred suggested, I strongly urge you to install and use 'sudo'.
Now, go ahead and create some secondary account with a UID=0. Call the account 'superme', for example. Now wait some period of time and decide that you want to remove the account and any files owned by it. After all, you don't see any activity for the account. Since you are careful enough to want to preserve any files owned by the old account you do:
# find / -type f -user superme -exec chown vincent {} +
Oops! You just changed all of root's files to be owned by you!
As Dennis said, this is can be dangerous, besides being very frowned upon by any auditor worth the title.
Regards!
...JRF...
As Dennis noted, 'vipw' and create a secondary account with a UID=0. As Wilfred suggested, I strongly urge you to install and use 'sudo'.
Now, go ahead and create some secondary account with a UID=0. Call the account 'superme', for example. Now wait some period of time and decide that you want to remove the account and any files owned by it. After all, you don't see any activity for the account. Since you are careful enough to want to preserve any files owned by the old account you do:
# find / -type f -user superme -exec chown vincent {} +
Oops! You just changed all of root's files to be owned by you!
As Dennis said, this is can be dangerous, besides being very frowned upon by any auditor worth the title.
Regards!
...JRF...
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP