From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d9bb096420b78313 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-03 16:59:56 PST Path: bga.com!news.sprintlink.net!hookup!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!edo From: edo@magnus.acs.ohio-state.edu (Eric D Osborne) Newsgroups: comp.unix.osf.osf1 Subject: Re: Help - can't login Date: 4 May 1994 00:00:03 GMT Organization: Digital Equipment Corp. (Posted from Ohio State University) Message-ID: <2q6oi3$7av@charm.magnus.acs.ohio-state.edu> References: <2q6liuINN1qt@zephyr.grace.cri.nz> NNTP-Posting-Host: beauty.magnus.acs.ohio-state.edu In article <2q6liuINN1qt@zephyr.grace.cri.nz>, wrote: >A login at the workstation definitely checks the password as >an incorrect password returns the appropriate error. A correct >login, however, simply goes into the weeds. A Telnet >connection connects but the login prompt is not displayed. > >Last thing I did was go through the NIS setup routine. You can get this kind of weirdness if you have an incorrect NIS setup. If ypbind is hanging in the twilight zone, login will hang. A common culprit here is the broadcast/netmask setup - if you are running SUN/OS, and taking the defaults, the broadcast addresses are set to 0, instead of 1 as the Internet RFC stipulates. Sun has changed this in Solaris, I think, but it is still broken in Sun/OS. YP is sensitive to this, and will hang. As a general rule, when setting up NIS, do a ypcat on one of the databases to check that it came up OK before logging out. ypcat passwd should be OK. You can turn this back off by logging in as root, if possible, and editing rc.config. Depending on the setting of /etc/svc.conf, though, you may not be able to log in. In that case, you'll have to halt the machine. Boot single user (set OS_BOOTFLAGS to a null value - it is probably set to "A"), then boot. When you come up single user, do a mount -u / to make root writable, then use ed to edit /etc/rc.config. Hopefully, if the firmware password is set, you know what it is. Otherwise you can't boot to single user. Then have your administrator check out the broadcast stuff on the sun machines. If you want to leave it with the (broken) sun default, you can set the alpha up to specify the same broadcast and netmask that sun uses. It's also possible that one of the answers you gave in the NIS setup was wrong, and the system can't bind to a NIS server even if the network is set up consistently. Remember to reset boot_osflags to "A" when you're done. Hope that helps. Eric Osborne edo@cso.dec.com -- ============================================================================== The opinions expressed above are my own, although for a small fee they could possibly become yours as well. They do not necessarily represent the opinions of Digital Equipment Corporation