- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: BACKUP ROOT ID
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
тАО04-15-2009 07:43 PM
тАО04-15-2009 07:43 PM
BACKUP ROOT ID
I have created backup root ID in Hp ux 11.11, I am normally used to go root by providing the #su command. But here i want root access without #su command. That is if am entering login: xxxxxx
Password: 8888888
It should show # prompt, without entering #su command. Request you to provide me the solution, Thanks in Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 08:57 PM
тАО04-15-2009 08:57 PM
Re: BACKUP ROOT ID
you can set owner and group ID for xxxxxx user simillir as root in /etc/password file, its then indirectly as root user. let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 09:09 PM
тАО04-15-2009 09:09 PM
Re: BACKUP ROOT ID
What steps did you do? Or are you asking how to do it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 09:30 PM
тАО04-15-2009 09:30 PM
Re: BACKUP ROOT ID
I have created through SAM and provided the uid as "0". Then i tried to login but its shows incorrect password, then i tried to login to my account(Normal user account) and i provide #su XXXXX , now i can able to access the system as root. My requirement is i dont want to put #su XXXXX command to access root.
I already checked the /etc/passwd file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 09:34 PM
тАО04-15-2009 09:34 PM
Re: BACKUP ROOT ID
have you also verify the group id? you can put group id same as root,
if your password is not working, please vi /etc/passwd file and remove password string for this user (keep it blank) and then on command prompt set new password with passwd command, let me know, thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 09:45 PM
тАО04-15-2009 09:45 PM
Re: BACKUP ROOT ID
just open your /etc/passwd file into vi
edit 2 things
1.uid make it 0
2.gid make it 0
see the example
suraj:x:0:0:SA:/home/suraj:/bin/bash
logout and again loggin
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 10:02 PM
тАО04-15-2009 10:02 PM
Re: BACKUP ROOT ID
1. It needs to be su - XXXX so that the profile of the user gets executed.
2. Also since I believe you are able to execute all the root command, could you confirm the same via
# whoami
>> This should display root.
If yes, then the question is why it shows login incorrect ?
Are you able to login via root user directly ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2009 01:43 AM
тАО04-16-2009 01:43 AM
Re: BACKUP ROOT ID
What password did you assign, the same as you tried? You didn't use @ or # did you? (These are generally verboten.)
>My requirement is I don't want to put #su XXXXX command to access root.
Then you need to know the password, that you had to use when you used "su XXXXX" from a non-root user.
>Avinash: could you confirm the same via whoami
Another command would be id(1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2009 04:10 AM
тАО04-16-2009 04:10 AM
Re: BACKUP ROOT ID
Do yourself and your company a big favor. Abandon your attempts to duplicate the 'root' account (which as noted, is any uid=0).
Aside from weakening your system's security, someone, one day, might decide to remove the account and any files owned by it. Then, by example, assuming that the user is named "omprakash" do:
# find / -user omprakash -exec rm -rf {} +
...they have just removed everything owned by _root_ since "omprakash' is also uid=0.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2009 10:07 AM
тАО04-16-2009 10:07 AM
Re: BACKUP ROOT ID
Right. Auditors will ding you as well, plus selecting the incorrect option when removing the user in SAM can smoke the files as well I believe.
There are numerous threads here describing this issue.
"You have been warned"