I am not familiar with Centrify, other then to know what vaguely what it
is. I believe that it authenticates to an Active Directory domain,
correct?

What does you /etc/nsswitch.conf look like?

What is the result of the following commands:

getent passwd oracle
getent passwd logsync

It would also be useful to see the whole passwd file...

You might also try 'pwck' to see if it reports anything useful (other
than "home dir does not exist" messages!).

Kevin

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Lavannya
Sent: Monday, March 30, 2009 9:12 PM
To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: [rhelv5-list] Problem with login and /etc/passwd



Hi ,


I am facing a peculiar problem . The server details are as follows:

         OS    = Red Hat Enterprise Linux Server release 5.2 (Tikanga)

     kernel    = Linux server 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15
EDT 2008 x86_64 x86_64 x86_64 GNU/Linux


HEre is the background:

       The centrifydc and centrify-sshd  is installed in the server for
login and ssh


       I have one userid  'logsync' which is being created for some
monitorying purpose and one script has been
       set remotely from where through this userid  the information is
gather from each server and sent to
       the remote server

       There is another userid  'oracle'.

       There are other two servers which are all in Oracle  RACs, the
configuration is same for the 3.

       To login the  3 cluster nodes,  ssy-keygen  is being executed
under oracle userid  , to login
       inbetween the nodes 'without passwd'

       The direct login of oracle user is closed but ssh between the
nodes are opened, here is the sshd_config
       configuration of 'AllowUsers'

       AllowUsers:  oracle@<server1 oracle@<server2> oracle@<server3>
logsync [ there are other ids also not
                    mentioned]

       Very recently few userids' login have been set nologin in the
/etc/passwd

Here are few lines from the end of /etc/passwd:

       oracle:x:155:102::/lhome/oracle:/bin/ksh
       crs:x:156:102::/lhome/crs:/bin/ksh
       asm:x:157:102::/lhome/asm:/bin/ksh
       hpsmh:x:158:500::/opt/hp/hpsmh:/sbin/nologin
       otstg:x:794:791::/home/otstg:/sbin/nologin
       otistg:x:796:791::/home/otistg:/sbin/nologin
       logsync:x:19999:19999::/home/logsync:/bin/bash

The problem is :

       When the 'logsync' is at the last line of /etc/passwd, then I am
able to login as logsync with logsync
       user  password.

       When I am login as oracle as   ssh -l oracle <server>,  and
giving the oracle user password, then
       it is login as 'logsync'also   from nodes to nodes without
password login as oracle is breaking

       If i place  the oracle user entry in the /etc/passwd  , at the
bottom , then  i am unable to login
       as  'logsync', but as oracle with oracle user password , I am
able to login successfully also 
       without password I am able to login in between the nodes.

Very recently also the password aging has been set for the local users
and for oracle, and logsync user
password aging has been disabled,  with the command 

           chage -I -1 -m 0 -M 99999 -E -1 <username>

I could not able to figure it out where it has been broken. It will be
really appreciated if anyone helps me
giving any hints.

Thanks in advance         


       
      

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to