[HPADM] passwd file problems - /sbin/sh

From: Jeff Cleverley (jeffc_at_ftc.agilent.com)
Date: 12/16/03

  • Next message: onsys.leideck_at_daimlerchrysler.com: "[HPADM] Binary transfer of file fails with ftp"
    Date: Mon, 15 Dec 2003 20:13:27 -0700
    To: ux-forum <hpux-admin@dutchworks.nl>
    
    

    Greetings,

    We have several systems running hpux 11.00 and have the same config
    files such as passwd, group, nsswitch.conf, etc. Earlier today one of
    the systems started to act strange and acted like it couldn't read the
    passwd file. It would give errors like:

    Dec 15 17:00:13 macaw inetd[4817]: getpwnam: root: No such user

    It would do the same for user bin, sys, etc.

    The nsswitch.conf has "compat" after the passwd entry. This was a
    change made about a week ago from "files nis". We found that when this
    started to occur, we could go in and modify the local password file in
    any way, and then it would work for 5-10 minutes and then start up
    again. We switched back to the "files nis" entry in nsswitch.conf, and
    this seemed to make almost everything happy.

    We then found that when using /sbin/sh, that it would not cd to nis
    homes such as "cd ~username". This did work is using ksh. We do not
    run nis+.

    We're assuming that the first issue was some type of fluke and not
    related to the second, but don't know for sure. The other systems that
    are set up like this have the same /sbin/sh (ll, cksum, etc) and don't
    have this problem.

    Any ideas?

    Thanks,

    Jeff Cleverley

    --
                 ---> 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: onsys.leideck_at_daimlerchrysler.com: "[HPADM] Binary transfer of file fails with ftp"

    Relevant Pages

    • Re: Guest account setup using NIS
      ... >>Well I see a problem with your passwd and shadow files. ... > passwd: files nis ... .login file as soon as it hits the 'mkdir' command. ...
      (comp.unix.admin)
    • Re: Guest account setup using NIS
      ... >>Well I see a problem with your passwd and shadow files. ... > passwd: files nis ... .login file as soon as it hits the 'mkdir' command. ...
      (comp.unix.admin)
    • Re: NIS, netgroups & Samba
      ... > master is Solaris 9 and the slave that Samba is on is running Solaris ... > passwd: compat #files nis ...
      (comp.unix.solaris)
    • Re: Help me with the PPP dialup!!! (3/4)
      ... # entry should stop if the search in the previous entry turned ... # passwd: files nis ... passwd: compat ...
      (comp.os.linux.networking)
    • Re: Help me with the PPP dialup!!! (3/4)
      ... # entry should stop if the search in the previous entry turned ... # passwd: files nis ... passwd: compat ...
      (comp.os.linux.misc)