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

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

  • Next message: HAUTECOEUR Bruno: "[HPADM] [SUMMARY]make_recovery with user data"
    To: "Rajwinder Singh" <RAJWINDER.SINGH@vsnl.co.in>, "Hpux-Admin" <hpux-admin@DutchWorks.nl>
    Date: Thu, 25 Sep 2003 11:50:45 +0530
    
    

    Hi Rajwinder,

    Thanks a lot.

    Your second reason is the root cause of my problem.

    password for root user was consisting @ . And that was in my ignorance that when I recreated users I keep all the passwords simple only alphabets.

    Thanks,
    pankaj

    -----Original Message-----
    From: Rajwinder Singh [mailto:RAJWINDER.SINGH@vsnl.co.in]
    Sent: Thursday, September 25, 2003 10:55 AM
    To: Patel Pankaj
    Subject: RE: [HPADM] RE: RE: nobody can login to hpux except one

    Hi Pankaj,
       There can be two reasons for this
     
    1. The existance of /etc/securrty file. If this file exists, then you cannot direct logon to root. If you want to root login from console then add /dev/console line in this file.
     
    2. Also if your root password consists of @ or # characters, then also you can direct logon. These characters are special escape characters.
     
    Regards,
    Rajwinder

            -----Original Message-----
            From: hpux-admin-owner@DutchWorks.nl on behalf of Patel Pankaj
            Sent: Thu 9/25/2003 10:32 AM
            To: James Bankston; Hpux-Admin
            Cc:
            Subject: [HPADM] RE: RE: nobody can login to hpux except one
            
            

            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: HAUTECOEUR Bruno: "[HPADM] [SUMMARY]make_recovery with user data"

    Relevant Pages

    • Re: Problem with split
      ... The context is this. ... have been created with file names consisting of a root, a six digit ...
      (comp.lang.perl.misc)
    • Re: Finding the scale/mode from a chord progression.
      ... It's a notation for what some folk call the "power chord" consisting only of ... root and perfect 5th (usually accompanied by a powerful fuzz box) :-) ...
      (rec.music.theory)
    • Security Weaknesses of OS X
      ... installed applications which would then provide access to the root ... If you don't set a password for the root user, ... administrator password would be required to make changes to a specific ... This would prevent malware from ...
      (comp.sys.mac.system)
    • Re: Prevent Root access from database
      ... > Weve got a new security drive underway in our organisation, ... > server should be prevented from the root user. ... > users getting into the database to see the data ?. ...
      (comp.databases.oracle.server)
    • Re: su in C
      ... > order to "su to root" to perform some task. ... ie how do i perform the actual su functionality? ... then have the root user chown/chmod the program to be a "setuid root" program ... for the root user, cryptto encrypt the entered plaintext password, and ...
      (comp.os.linux.development.apps)