Operating System - HP-UX
1833059 Members
2564 Online
110049 Solutions
New Discussion

cannot login with any user

 
Matteo Pavesi
Advisor

cannot login with any user

Hello,
suddendly my C100 ws with hpux 11.00 has sterted to refuse any kind of login, no root login and no login with my other user name.
The message is "login incorrect".
Thanks to anyone will help me.

Matteo Pavesi
18 REPLIES 18
Stf
Esteemed Contributor

Re: cannot login with any user

Hello,

first of all try to boot in single user mode and change root password

Then restart in normal mode and try to log in as root with your new password

Stf ;-)
Pete Randall
Outstanding Contributor

Re: cannot login with any user

Matteo,

Sounds like something has happened to the password file. Is this a trusted system? Can you boot to single user mode? You need to run pwck and grpck to see what's wrong with the password file.


Pete

Pete
Kent Ostby
Honored Contributor

Re: cannot login with any user

Boot single user mode would be the best way to go and check the password file.

If its completely trashed then a restore from a backup or using the /usr/newconfig/etc/passwd file is the way to go.

Best regards,

Oz
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Matteo Pavesi
Advisor

Re: cannot login with any user

Hello,
I already tried single user mode and changed root password but when I rebbot the situation doesn't change.
bhavin asokan
Honored Contributor

Re: cannot login with any user

hi,

you are having /var/adm/inetd.sec file.move that file to some other name and see.

regds,
Matteo Pavesi
Advisor

Re: cannot login with any user

Hello,
I have tried to move inetd.sec but nothing has changed. I have tried pwck and it says that two home directories belonging to two user account are missing.
I can't understand what has happened because the system refused all users after a simple reboot.
Any other suggestion will be appreciated.
Thanks.
Robert-Jan Goossens
Honored Contributor

Re: cannot login with any user

Hi Matteo,

Could you check the permissions of / and /etc filesystems ?

drwxr-xr-x 19 root root 1024 Nov 10 10:49 /

dr-xr-xr-x 27 bin bin 6144 Nov 29 11:25 /etc

Regards,
Robert-Jan
Stf
Esteemed Contributor

Re: cannot login with any user

Check if /home is well mounted at system boot

Stf ;-)
Matteo Pavesi
Advisor

Re: cannot login with any user

I verified about /home mounting and I got this message:
"/home is already mounted, /home is busy or allowable number of mount points exceeded"
Matteo Pavesi
Advisor

Re: cannot login with any user

I verified /etc permissions and it's the same as you wrote but I don't know where find the permissions for root.
Robert-Jan Goossens
Honored Contributor

Re: cannot login with any user

# ls -lad /
drwxr-xr-x 19 root root 1024 Nov 10 10:49 /

Regarsd,
Robert-Jan
Matteo Pavesi
Advisor

Re: cannot login with any user

ok thanks, I tried ls -lad / and the result is the same as you wrote. Any other suggestion?
Thanks and bye.
bhavin asokan
Honored Contributor

Re: cannot login with any user

hi,
it is like a foolish suggestion.

can you check the permission of /home directory and it is full.and the entries of /etc/hosts file(from some hints i got ).


regds,
V. Nyga
Honored Contributor

Re: cannot login with any user

Hi,

check if you have enough space - bdf.

Volkmar
*** Say 'Thanks' with Kudos ***
bhavin asokan
Honored Contributor

Re: cannot login with any user

hi,

pls do the following

cd /var/adm
mv btmp btmp.old
mv wtmp wtmp.old
touch btmp
touch wtmp

regds,
Matteo Pavesi
Advisor

Re: cannot login with any user

Behavin,
I tried what you suggested but nothing has changed.
Thanks anyway.
Bye
Jordan Bean
Honored Contributor

Re: cannot login with any user

Is /usr/bin/login a symlink to /usr/bin/pplogin? If so, remove the symlink and restore /usr/bin/login from /usr/bin/ORIG/login and contact PowerPassword support: http://www.symark.com/support.htm

bhavin asokan
Honored Contributor

Re: cannot login with any user

hi,

if you were using TCB ,see that tcb folder is there at root and the folders/files inside /tcb/files/auth are at place.

regds,