- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root account disabled
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
06-18-2003 02:28 AM
06-18-2003 02:28 AM
root account disabled
I just wanted to remember myself to change the root password at the next login. As root, I have given the 'passwd -f root' command.
The I tried to login from the console: ok, the system asks me to change the password. After giving the actual password, the system didn't let me enter refusing the following new password.
And this happened 3 times.
After that, the security policy of the system doesn't let me enter, since the root has been disabled - the error is 'see Account Administrator'.
The question is: there a way to have back a root user prompt without rebooting in single user mode ?
A supplementary problem is that the root user is the only one enabled to perform a shutdown/reboot of the machine.
Thank you
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 02:31 AM
06-18-2003 02:31 AM
Re: root account disabled
As far as I know, you should be able to log into the system via the console even if the login is disabled (presuming you know the root password, obviously).
Make sure you really are at the console and give it a try.
Another remote possibility is if you can access the system via SSH. This will still allow connection even if the account is disabled.
If this fails, then I believe it's a case of booting into single-user mode and changing the password.
Good luck,
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 02:33 AM
06-18-2003 02:33 AM
Re: root account disabled
Youre going to have to crash it and reboot in single user mode to fix, unless you know someone somewhere with a logged in root window which you can use.
I guess your new password was rejected because it didnt comply with the security standard - 6 chars, at least 1 number etc ?
Whenever you play with root passwords or setup you should always have another logged in root window somewhere so you can easily fix it if it goes wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 02:43 AM
06-18-2003 02:43 AM
Re: root account disabled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 02:48 AM
06-18-2003 02:48 AM
Re: root account disabled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 02:50 AM
06-18-2003 02:50 AM
Re: root account disabled
if your are luck, maybe the file /etc/passwd is writable directly...
try !
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 02:54 AM
06-18-2003 02:54 AM
Re: root account disabled
can login remotely without password from some "trusted" machine?I loved these backdoors once :)You leave a host (your workstation usually) and rlogin from there without a password.What else can be done...hmm...login as a regular user and run john the ripper password breaker vs your /etc/password?:)
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 07:18 AM
06-18-2003 07:18 AM
Re: root account disabled
From the console, the system seems to let me log in as root
But I gave the original "passwd -f"
So the system asks me to change my password
I try to change it and, after giving the actual, "old" password ..
Sorry.
Login disallowed due to no password.
I've hardly crashed the machine, booted in single user mode, but the system is set up to ask for the root password even in single user mode. And here it simply doesn't (!) accept the "old", right password
I've tried to boot up from the CD, but from the recovery shell I don't know how to mount the root filesystem to change /tcb/files/auth/r/root
Thank you for your precious help
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 07:22 AM
06-18-2003 07:22 AM
Re: root account disabled
to mount the root fs you should use the chroot_lvm script that is created when you use the recovery CD.
This will mount the original /
then, downloading the mount command, you should be able to mount all the stuff.
Sorry that i don't remember exactly the bame, but it appears on the video when you use the recovery CD.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 07:26 AM
06-18-2003 07:26 AM
Re: root account disabled
A pseudo root account is a username, password, UID=0. I usually give it a separate home directory (other than "/"). The easiest way to create a pseudo root account is to create a normal user account, then edit /etc/passwd to change the UID to "0".
Over the years, the pseudo root account has saved me from rebooting dozens of times.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 07:34 AM
06-18-2003 07:34 AM
Re: root account disabled
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.6/
and setting up your account to have root priv. in /etc/sudoers.
As for now, if you are logged in as root, then you can edit /etc/passwd directly and change the encrypted password for the root account (maybe copy and paste in your account's password).
If you cannot log in as root, then try to sync the filesystems (sync command should work without root permission), power-off, and boot off of a recovery CD. You can then mount your root partition and change the /etc/passwd entry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 01:19 PM
06-18-2003 01:19 PM
Re: root account disabled
Then, of course, delete the second 0 level user.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 01:33 PM
06-18-2003 01:33 PM
Re: root account disabled
Interact with IPL?
Y
hpux -is
Then try setting the passwd...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 01:42 PM
06-18-2003 01:42 PM
Re: root account disabled
You can try with ftp. If you are having an identical passwd file you can try with ftp-ing the file in the Server and try it out.
Sandip