- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to create a User ID which have same power as "...
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
Forums
Discussions
Discussions
Discussions
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
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
05-22-2003 06:10 PM
05-22-2003 06:10 PM
I want to create a User ID.
This User ID must have same
power as "root" becuase we
should give "root" to the
Sytem Operation Dept.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 06:17 PM
05-22-2003 06:17 PM
Solutionsu - root
to become root temporarily. root is much too powerful to give out to a lot of people. A much better solution is to download sudo, a program which can limit each user to selected commands and parameters. Without such restrictions, the system may be damaged and there will be no way to identify who made the mistake.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 06:18 PM
05-22-2003 06:18 PM
Re: How to create a User ID which have same power as "root"?
Install SUDO,
which will solve your
problem.
Regards
Sekar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 06:20 PM
05-22-2003 06:20 PM
Re: How to create a User ID which have same power as "root"?
Why....I can't think of a smart reason.
DO NOT DO THIS.
My $.02
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 06:23 PM
05-22-2003 06:23 PM
Re: How to create a User ID which have same power as "root"?
so many people know root password,wargh!! bad idea..
In our company nobody know the root password.Strange but true , the password is lock in my boss room.
We installed a third party software which enable the normal user to become root.
And the third party software will kept track every key stroke you make when becoming pseudo root.
hope this help
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 06:30 PM
05-22-2003 06:30 PM
Re: How to create a User ID which have same power as "root"?
Where can I download the SUDO?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 06:37 PM
05-22-2003 06:37 PM
Re: How to create a User ID which have same power as "root"?
Sudo's home page is here:
http://www.courtesan.com/sudo/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 07:52 PM
05-22-2003 07:52 PM
Re: How to create a User ID which have same power as "root"?
Alternatively, you may wish to use "PowerBroker" software from Symark.
www.symark.com/powerbroker.htm
This will allow you to delegate these privileges to other users. It will authenticate the end-user. It will help to keep an Audit Trail of the activity carried out.
Hope this helps.
Regards...
Suhas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 08:24 PM
05-22-2003 08:24 PM
Re: How to create a User ID which have same power as "root"?
# useradd -u 0 otto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 09:25 PM
05-22-2003 09:25 PM
Re: How to create a User ID which have same power as "root"?
i still believe using SUDO is more secure than changing the ID of the user to 0 (same as root).
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 06:50 AM
05-23-2003 06:50 AM
Re: How to create a User ID which have same power as "root"?
Second, If you allow the Operations department to have a menu that lets them do certain boring, repetetive tasks that require root access, It can really ease up your work load.
For Example we allow our Operation to do this list of things.
echo "\t\t Operations Menu\n"
echo "\t1. check BCVs \n"
echo "\t2. check oracle status\n"
echo "\t3. check Listener status\n"
echo "\t4. cancel print job\n"
echo "\t5. check at jobs \n"
echo "\t6. check pwgr daemon \n"
echo "\t7. check batch queues\n"
echo "\t8. glance\n\n"
echo "\t\tx logout \n"
This gives operations a view of the system, and its processes as well as the ability to take the repetetive chores out of my work queue.
I still do all of the above on occasion, but I can do them as well from a command line, but it is easy to use the menu system. and it prevents unauthorized access to the command prompt as I encrypt a separate password and read a variable to gain
prompt access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:16 AM
05-23-2003 07:16 AM
Re: How to create a User ID which have same power as "root"?
creating another user with root privlidges is a bad idea. But it's your system and if you choose to do that. just create another user and set their UID to 0 (zero) - this will make them the same as root.
As mentioned this is a BAD idea and is FULL of security holes. I'd recommend SUDO (mentioned earlier) or ServiceControl Manager (a free HP product)
both of these will allow you to run tools with root permissions while not actually knowing root the root password. We use SCM (service control manager) at work for our tier 1 and tier 2 support teams so they can run sam and reset passwords. You can create custom scripts or tools with either of these to run as root. a very versitile tool.
Restricted SAM is another option if all you need to do is run SAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:20 AM
05-23-2003 07:20 AM
Re: How to create a User ID which have same power as "root"?
can be downloaded from here:
https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=B8339BA3.0&date=
(or go to http://www.software.hp.com/ and search for SCM)
This product has a nice GUI interface and is web enabled - which is great.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:21 AM
05-23-2003 07:21 AM
Re: How to create a User ID which have same power as "root"?
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProducts.pl?group_type=search&group_name=SCM&search_free=1&search_trial=1&search_buy=1
just click on
ServiceControl Manager 3.0
receive for free button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:23 AM
05-23-2003 07:23 AM
Re: How to create a User ID which have same power as "root"?
Create a user say test , then edit the /etc/passwd file to have the same uid/gid ie 0:3 , this will do the job , but you need to be careful about this user bcoz it is as powerful as root.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2003 03:30 AM
05-24-2003 03:30 AM
Re: How to create a User ID which have same power as "root"?
last option :
u can either have setuid scripts designed for specific tasks or better have then in a menu which u'r system operations can run .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2003 01:13 AM
05-26-2003 01:13 AM
Re: How to create a User ID which have same power as "root"?
Creat a new user and change the user id and group id to zero. In this way another user othere than root will have the root previlage.
I understand this is not a good method, but this is one of the simplest method.
Dipu