Operating System - HP-UX
1758643 Members
2322 Online
108874 Solutions
New Discussion юеВ

I can't login as root (and other) user after I recovered ignite

 
SOLVED
Go to solution
MQ'ski
Regular Advisor

I can't login as root (and other) user after I recovered ignite

Hi. It's my first time I do recover from ignite backup... Recover was successful but I cant login as root and other users. What is the problem (and solution) ?
14 REPLIES 14
Pete Randall
Outstanding Contributor

Re: I can't login as root (and other) user after I recovered ignite

What sort of error do you get when you try to login? Are you using the right password? I'm assuming you recovered the entire VG00 which would include /etc/passwd - correct?

Pete

Pete
harry d brown jr
Honored Contributor

Re: I can't login as root (and other) user after I recovered ignite

A few of many possibilities:

(1) The recovery tape was old with an older password for root and the other users.

(2) you didn't use the -A option to save all of root and your login scripts might require something that hasn't been restored.

Actions:

reboot machine, interrupt it, boot into single user mode, inspect /etc/passwd and /etc/group files. Also, if it's a trusted system, check the /tcb files.

live free or die
harry
Live Free or Die
T G Manikandan
Honored Contributor

Re: I can't login as root (and other) user after I recovered ignite

What you do is

reboot the machine
Interrupt the boot sequence

ISL>hpux -is

to enter single user mode.

Try changing the password of root.
Also check the password and group files as suggested.
MQ'ski
Regular Advisor

Re: I can't login as root (and other) user after I recovered ignite

Yes I changed pasword for root and other users.
I can login now as other users and do su - root
with new password.
But I can not still login as root from login after reboot
T G Manikandan
Honored Contributor

Re: I can't login as root (and other) user after I recovered ignite

Just check whether you have

login as user ,su to root
check
1./etc/nologin
and inside some line as root

2./etc/securetty

If you have this file rename it

mv /etc/securetty /etc/securetty.old

Revert
T G Manikandan
Honored Contributor

Re: I can't login as root (and other) user after I recovered ignite

Another qs.

Is you system a trusted one?


Thanks
MQ'ski
Regular Advisor

Re: I can't login as root (and other) user after I recovered ignite

no its not trusted
MQ'ski
Regular Advisor

Re: I can't login as root (and other) user after I recovered ignite

tehre is not nologin file
Chuck J
Valued Contributor

Re: I can't login as root (and other) user after I recovered ignite

Have you got and old copy of the /etc/passwd file? If so, backup the current one (just copy it to a another filename) then replace it with your saved version.

Chuck J