[HPADM] RE: RE: nobody can login to hpux except one

From: Patel Pankaj (pankaj.patel_at_patni.com)
Date: 09/25/03

  • Next message: Patel Pankaj: "[HPADM] RE: RE: RE: nobody can login to hpux except one"
    To: "James Bankston" <JBankston@ajc.com>, "Hpux-Admin" <hpux-admin@DutchWorks.nl>
    Date: Thu, 25 Sep 2003 10:32:28 +0530
    
    
    

    Hi,

    I have tried giving 777 to /etc/profile. But no luck.
    /etc/nologin doesnot exists.
    pwck returns nothing
    I use telnet for login.
    /dev/tty's and pts have permision crw-rw-rw

    Here in mail I have hacked password and user field in /etc/passwd.

    Finally I have deleted users and recreated it with other names , and now I
    can telnet using newly created users.

    Only thing I leftout is still I can not do direct login on console/telnet
    using root . I must have to login using other user name and than su .

    thanks to all
    pankaj

    -----Original Message-----
    From: James Bankston [mailto:JBankston@ajc.com]
    Sent: Wednesday, September 24, 2003 9:46 PM
    To: Patel Pankaj
    Subject: Re: [HPADM] RE: nobody can login to hpux except one

    What are the permission's on the /etc/profile

    James K. Bankston
    UNIX Systems Administrator
    Information Technology -Server Group
    The Atlanta Journal-Constitution
    404-526-7177 (office) 404-526-7050 (fax)
    jbankston@ajc.com

                                                                               
                 "Patel Pankaj"
                 <pankaj.patel@pat
                 ni.com> To
                 Sent by: "Hpux-Admin"
                 hpux-admin-owner@ <hpux-admin@dutchworks.nl>
                 DutchWorks.nl cc
                                           "Abramson, Stuart"
                                           <SAbramson@Wabtec.com>
                 09/24/2003 09:56
                 AM
                                                                       Subject
                                           [HPADM] RE: nobody can login to
                                           hpux except one
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               

    /etc/passwd is in good health.

    root:aaaVrhDa:0:3::/:/sbin/sh
    B:KBN:101:0:admin user,,,:/home/admin:/usr/bin/sh
    A:xGU:102:103:,,,:/home/oracle:/usr/bin/sh
    C:oj3JY:103:20:A A,,,:/home/C:/usr/bin/sh
    D:hqc:104:20:C,,,:/home/C:/usr/bin/sh

                 Direct login for B,C, D says login incorrect. But when say
    "su -B"
    from A's session, can login fine.
                 Which logs can be useful to me to troubleshoot ??

                 thanks stuart

                 pankaj

    > -----Original Message-----
    > From: Abramson, Stuart [mailto:SAbramson@Wabtec.com]
    > Sent: Wednesday, September 24, 2003 7:09 PM
    > To: 'Patel Pankaj'
    > Subject: RE: [HPADM] nobody can login to hpux except one
    >
    > Very odd:
    >
    > 1. Check /etc/passwd to make sure it's good for all users.
    >
    > 2. Why can't you log in with user "B"? What error does it give
    you?
    >
    > Stuart
    >
    > Stuart Abramson | Off: 412/825-1434 | Cell: 412/417-1567 | email:
    > sabramson@wabtec.com
    >
    >
    > -----Original Message-----
    > From: Patel Pankaj [mailto:pankaj.patel@patni.com]

    > Sent: Wednesday, September 24, 2003 9:27 AM
    > To: hpux-admin@dutchworks.nl
    > Subject: [HPADM] nobody can login to hpux except one
    >
    > HI,
    > I have 3-4 users created on HPUX11.0 machine. Say user A, B, C
    ,D ,E
    >
    > No I can only login to system using user A.
    > I cannot login to system using any other user , even I can not
    login
    > to system as root.
    >
    > So that is why I login to system using user A and than I do
    "su" to
    > any other user and do the work.
    >
    > But now I want direct login to system because I cannot give
    password
    > of user A to every other user to login.
    >
    > Any suggestion or sulution are welcome.
    >
    > thanks
    > pankaj
    >
    (See attached file: winmail.dat) << File: winmail.dat >>

    
    

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    


  • Next message: Patel Pankaj: "[HPADM] RE: RE: RE: nobody can login to hpux except one"

    Relevant Pages

    • Re: Idea: "SSH Meeting"
      ... Some telnet allow no root login, maybe you can su - root. ... If you start telnetd in debug mode, a different port can be specified. ...
      (comp.os.linux.development.apps)
    • Re: Telnet root login
      ... Subject: Telnet root login ... What tty does it say you are on? ...
      (freebsd-current)
    • Re: telnet as root question
      ... >> make securetty tell telnet and SSH apart? ... >login program after opening the pts. ... >check securetty to know if root login is allowed. ...
      (comp.os.linux.security)
    • Redhat 8.0 login as root
      ... I am working with Redhat 8.0 boxes and I *must* be able to login ... if there is a way to enable remote telnet login as root. ...
      (comp.os.linux.networking)
    • Re: Idea: "SSH Meeting"
      ... Some telnet allow no root login, maybe you can su - root. ... If you start telnetd in debug mode, a different port can be specified. ...
      (comp.os.linux.development.apps)