Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Help - can't login
@ 1994-05-03 23:03 PATFIELDD
  0 siblings, 0 replies; 3+ messages in thread
From: PATFIELDD @ 1994-05-03 23:03 UTC (permalink / raw)





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Help - can't login
@ 1994-05-03 23:09 PATFIELDD
  1994-05-04  0:00 ` Eric D Osborne
  0 siblings, 1 reply; 3+ messages in thread
From: PATFIELDD @ 1994-05-03 23:09 UTC (permalink / raw)


Sorry about the blank posting, first time I've tried.

Can someone help me ?

We recently received a DEC 3000 running OSF/1. DEC still haven't 
delivered any documentation or the CD. I'm new to the UNIX game and 
have been using SUN docs to try to setup the Alpha.

Anyway, I now can't login. The machine boots and can be PINGed.
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.

I thought I would try logging in single user with write access and
rename rc.config. Might this let me in ? How do I enable write 
access in single-user mode ?

Thanks in advance

Dean Patfield


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help - can't login
  1994-05-03 23:09 PATFIELDD
@ 1994-05-04  0:00 ` Eric D Osborne
  0 siblings, 0 replies; 3+ messages in thread
From: Eric D Osborne @ 1994-05-04  0:00 UTC (permalink / raw)


In article <2q6liuINN1qt@zephyr.grace.cri.nz>,
 <PATFIELDD@lincoln.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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-05-04  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-03 23:03 Help - can't login PATFIELDD
  -- strict thread matches above, loose matches on Subject: below --
1994-05-03 23:09 PATFIELDD
1994-05-04  0:00 ` Eric D Osborne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox