Operating System - HP-UX
1754807 Members
3681 Online
108825 Solutions
New Discussion юеВ

Not able to login with any user

 
suneel
Occasional Contributor

Not able to login with any user

We are using hp-ux 11.11.

We got a requset as user are not able to login. we recovered the root password for the server but still not able to login with the new root password as well. This is an urgent thread.
13 REPLIES 13
saravanan08
Valued Contributor

Re: Not able to login with any user

check wether the /etc/passwd file is present

if it is there means check for mistakes
Pete Randall
Outstanding Contributor

Re: Not able to login with any user

Reboot in single-user mode in order to get logged in as root (hpux -is at the ISL prompt). Then take a look at /etc/passwd to see if it's corrupt, or the permissions are wrong (should be -r--r--r--), etc., etc.


Pete

Pete
suneel
Occasional Contributor

Re: Not able to login with any user

It seems to be fine.
# ls -l /etc/passwd
-r--r--r-- 1 root sys 1530 Dec 4 08:56 /etc/passwd

Our system is trusted system. Please reply.
Kenan Erdey
Honored Contributor

Re: Not able to login with any user

hi,

have you recently change it to trusted mode ? how long is your password ?

or what is in syslog ?
Computers have lots of memory but no imagination
Ganesan R
Honored Contributor

Re: Not able to login with any user

Hi Suneel,

Atleast you need root login to troubleshoot further. If you can't even login as root then you probably need to boot into single user mode and reset the root password then start troubleshooting.

How did you get this below output if you are not able to login even as root user ?

>>>It seems to be fine.
# ls -l /etc/passwd
-r--r--r-- 1 root sys 1530 Dec 4 08:56 /etc/passwd <<<
Best wishes,

Ganesh.
OldSchool
Honored Contributor

Re: Not able to login with any user

if recently converted to trusted, then passwords longer than 8 chars got truncated to 8.

any special characters in the root password? as warned against in the "man passwd"


WARNING
Avoid password characters which have special meaning to the tty driver, such as # (erase) and @ (kill). You may not be able to login with these characters.
OldSchool
Honored Contributor

Re: Not able to login with any user

if the passwords were corrupted on a trusted system, you need to get more than /etc/password back .

the /tcb files and directories are required as well....

search to sysadmin forum for tcb
Johnson Punniyalingam
Honored Contributor

Re: Not able to login with any user

Hi,

>> User not able to login<<
>>root not able to login<<

ru trying to login root account at the Console or telnet/ssh ..? you need look for root & user account got locked ..?

try using the root account direct going infront of the Server,

1. why becoz it could be no root directly login allowed via telnet,ssh

2. /usr/lbin/getprpw -l root
(check for lockout=101000) --> meaning ur root account locked
3.Enable to its /usr/lbin/modprpw -k root

mentioned trusted system.? have you tries rlogin from ServerA to ServerB --. which have problem -> are you able to login
Problems are common to all, but attitude makes the difference
wci
Frequent Advisor

Re: Not able to login with any user

Hi

If you have a logged in session as root to the system check your /etc/nsswitch.conf file's passwd field.
Just to make sure if you have the correct type either files or NIS or what ever you use.

Regards

WCI