Operating System - HP-UX
1837970 Members
2691 Online
110124 Solutions
New Discussion

Re: not getting logged in root account

 
balamurugan_6
New Member

not getting logged in root account

i was changing root password thorugh telnet from a windows pc .and it was successfully changed .after giving exit again i tried to login with new password . but login incorrect . i tried ftp connection .it is taking new password through ftp .

what is the solution ? it may be changed through single user mode . but y it happens that only through ftp it is allowing .
6 REPLIES 6
Senthil Kumar .A_1
Honored Contributor

Re: not getting logged in root account

Hi,

I'm not too sure why this happened, though I can give a solution in resetting the root password again for your situation with out reboot. Though I haven't tried this personally.

Since you state that you are able to ftp to this server as root with new password. You ftp as root and download the /etc/passwd file to the local machine. Edit the "passwd" file and remove the ecrypted entry for root in second column. once done, ftp the modified passwd file back to /etc as root. Since it is logged in as root through ftp, I'm assuming it might allow you to overwrite. If its able to overwrite your problem is solved. You can telnet to the server as root, Now the password is blank.

Now you can reset the root password. But be cautious. Do not logout just yet. Open another terminal and try logging in as root with new password. If it works fine, if not atleast you have a terminal to troubleshoot. This process will let you avoid a boot to single user mode atleast.

I hope this works for you.

SK
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
balamurugan_6
New Member

Re: not getting logged in root account

ur method i tried yesterday but i haven't overwritten passwd that is main oracle database server . so i thought it may be ris joverwritting passwd troufgh ftp but using single user mode today morning it has been cahnged thak u for ur solution


but one doubt . what is the reason to allow in ftp ?
MarkSyder
Honored Contributor

Re: not getting logged in root account

Have you tried logging in at the console?

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
balamurugan_6
New Member

Re: not getting logged in root account

it not allows in console , terminal ,telnet

only allows only ftp

i want to know is ther any particular reason
for that to allow in ftp not in other ports or in console
Guna_2
Regular Advisor

Re: not getting logged in root account

Hi bala,

Did u tried with any other username?

Is this problem exists only with root or every user?

Regards,
MGP
Akram Shaik
Frequent Advisor

Re: not getting logged in root account

May be some one might have tampered with /etc/hosts.deny file.

Please check the hosts.deny if telnet is present, Iam not sure if Iam right.

But you can always cross verify.
when everyting is coming your way then you are in the wrong lane