- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to login as Root
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
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
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
тАО01-06-2009 03:59 AM
тАО01-06-2009 03:59 AM
There is a C8000 workstation with HP-UX 11.11 installed on it. Root password was forgotten, so went into Single User mode and tried changing it.
When almost done (confirmed 2nd time), error came saying can't change passwd as root partition is full. Then deleted some data and freed up some space. Then tried to change password, the nightmare started from here- It said, 'not valid login, can't change password'.
Rebooted system, then went into single user mode again, then it throws an error saying , no 'root' id or 'bin' id , check '/etc/passwd' and reboot. When i check the file, it is 0 bytes. Fortunately, there was another old passwd file which I moved to new file and tried to change passwd for root. It accepted and changed successfully. Created another user 'sp99975' and rebooted. When the W/S came up, the CDE login was not accepting 'root' login but only 'sp99975'.
Went into Single User mode again, and tried changing password for root. It was successful. Checked /etc, there were 2 passwd files with following properties:
... root root 682 Jan 6 04:25 passwd
... root sys 791 Jan 6 06:11 passwd
... root sys 791 Dec 4 2005 passwd.sav_12:05
(note: '...' above means valid permissions)
After that, any no of attempts of changing root passwd is successful, but logging in into root is unsuccessful. While the user 'sp99975' login is successful. Also, after 3rd reboot, even CDE is not coming with following error 'Unable to launch CDE, check error file Dtlogin.errorlogFile(/var/dt/Xerrors))
Please help me out.
Regards,
Ramaprasad K
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 04:05 AM
тАО01-06-2009 04:05 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 04:10 AM
тАО01-06-2009 04:10 AM
Re: unable to login as Root
Where exactly is sshd_config?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 04:17 AM
тАО01-06-2009 04:17 AM
Re: unable to login as Root
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 04:18 AM
тАО01-06-2009 04:18 AM
Re: unable to login as Root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 08:08 PM
тАО01-06-2009 08:08 PM
Re: unable to login as Root
Shall check and update you.
Also, what about the CDE? It is not starting giving the error I wrote in my first post.
Ram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 08:14 PM
тАО01-06-2009 08:14 PM
Re: unable to login as Root
What was in the error file? /var/dt/Xerrors/Dtlogin.errorlogFile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 09:55 PM
тАО01-06-2009 09:55 PM
Re: unable to login as Root
Sorry to say, there is no ssh folder under /opt. Any other path?
-Dennis:What was in the error file? /var/dt/Xerrors/Dtlogin.errorlogFile?
Fatal Server Error:
Server is already active for display0
If this server is no longer runnnig, remove /tmp/.X0.lock and start again
When reporting a problem related to a server crash, please send the full server output, no just the last messages.
Please report to you HP support representative.
Wed Jan 7 11:23:04 2009
error (pid 3279)Server unexpectedly died.
Wed Jan 7 11:23:09 2009
error (pid 3279)Server for display SPHP039:0 can't be started.
Thanks,
Ram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 10:05 PM
тАО01-06-2009 10:05 PM
Re: unable to login as Root
servername:/root/.ssh/sshd_config
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 10:08 PM
тАО01-06-2009 10:08 PM
Re: unable to login as Root
You can find in below directory.
/opt/ssh/etc
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 10:13 PM
тАО01-06-2009 10:13 PM
Re: unable to login as Root
>>You can find in below directory.
>>
>>/opt/ssh/etc
No chance. ssh folder is not there under /opt. Even there is no /root directory.
Any other path?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 10:21 PM
тАО01-06-2009 10:21 PM
Re: unable to login as Root
find / -name sshd_config
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 10:49 PM
тАО01-06-2009 10:49 PM
Re: unable to login as Root
try to find with command:
#find / -name sshd_config
give us output of:
#ps -ef|grep sshd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 11:02 PM
тАО01-06-2009 11:02 PM
Re: unable to login as Root
No success.
$ps -ef |grep sshd
-> no output
$find / -name sshd_config
find: /tmp... not found
.
.
.
(note: ... represents the path of files, repeats for all files in the mounted partitions viz., /opt, /tmp, /var)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 11:12 PM
тАО01-06-2009 11:12 PM
Re: unable to login as Root
As I understand, you are unable to login via root to CDE, while for other user login is possible
If my understanding is correct, please do the following
open a ssh session and check the following logs while you try to give the username and password for root
# tail -f /.dt/startlog
Also you might try to create a user with admin rights and check if he is able to login
# useradd -o -u 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 11:25 PM
тАО01-06-2009 11:25 PM
Re: unable to login as Root
can you telnet to this server?
check if there is a ssh software in your server
#swlist |grep -i secure
if no ssh software, install this software first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2009 08:51 PM
тАО01-11-2009 08:51 PM
Re: unable to login as Root
There were many other issues including 'not accepting grep (|)', so confirmed form user and Reinstalled OS. Working fine now.
Thanks,
Ramaprasad K.