Operating System - HP-UX
1752782 Members
6044 Online
108789 Solutions
New Discussion юеВ

Problem logging on to HP-UX 9000 L2000

 
Evella Dawson
Advisor

Problem logging on to HP-UX 9000 L2000

My OS is HP-UX-11 on L2000 box. I have installed Oracle8i(version 8.1.7). I was in the process of creating my second database,when I received a message that I didnot have permssion to the /etc/oratab file. The creation of the database was aborted. I logged off the system. When I tried to log back on via telnet, the following message appeared: no shell,then the system drops the connection. The OS will only allow root to log on. I am the DBA,can you help me. My SA did not know where to look for the answer.
persistence is the road to success
25 REPLIES 25
Joseph C. Denman
Honored Contributor

Re: Problem logging on to HP-UX 9000 L2000

Evella,

Check the permissions on the users home directory. ie /home/oracle

I would bet they are incorrect.

...jcd...
If I had only read the instructions first??
James R. Ferguson
Acclaimed Contributor

Re: Problem logging on to HP-UX 9000 L2000

Hi:

Have your SA verify that a valid shell is specified for *your* account in /etc/passwd.

The seventh field should be '/usr/bin/sh'.

Regards!

...JRF...
Joseph C. Denman
Honored Contributor

Re: Problem logging on to HP-UX 9000 L2000

Oh...

To find the home dir

cat /etc/passwd | grep theuser | cut -f6 -d:

...jcd...
If I had only read the instructions first??
Sridhar Bhaskarla
Honored Contributor

Re: Problem logging on to HP-UX 9000 L2000

Hi Evella,

You need to look at /etc/passwd file entry. Ask your SA to see if anything has been changed since then. Sometimes it happens when people mess around with password files manually and a single entry splits into two lines.

Also ask him/her to look at the /home permissions if it is happening to all the users. It should be 755. If it is happening only to you, check your home directory permissions.

One another thing is about the permissions on the shells. /usr/bin/ksh,/usr/bin/sh,/sbin/sh etc.,


-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Evella Dawson
Advisor

Re: Problem logging on to HP-UX 9000 L2000

The permission for /home/oracle is 775.

verification has been made my account in the /etc/passwd.

It appears that no other user on the system is able to log on. ONLY ROOT is allowed. My SA tried using his account, my account, oracle, etc. All have 775 or 777 permission.
persistence is the road to success
Joseph C. Denman
Honored Contributor

Re: Problem logging on to HP-UX 9000 L2000

Check the perms on /etc/passwd...should be 444. Also check perms on the shell's...should be 555

Keep us posted.

...jcd...
If I had only read the instructions first??
James R. Ferguson
Acclaimed Contributor

Re: Problem logging on to HP-UX 9000 L2000

Hi Evella:

Check permissions on /usr and /usr/bin. These directories should be 555.

Regards!

...JRF...
Joseph C. Denman
Honored Contributor

Re: Problem logging on to HP-UX 9000 L2000

Evella,

Also check /home...should be 755.

...jcd...

If I had only read the instructions first??
James A. Donovan
Honored Contributor

Re: Problem logging on to HP-UX 9000 L2000

If only root is allowed to login, check for the existance of an /etc/nologin file. If it exists, delete it.

...another thread with some ideas on the topic of locking out all users except root...

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6e7406295e00d6118ff40090279cd0f9,00.html
Remember, wherever you go, there you are...