<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-9" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#0050d0">
>From the box youre trying to log into, do `getent passwd [USERNAME]`.
That will let you know if the box is able to look up the user. Also
check /var/log files (not sure which ones as it can vary between OSes
and distros) for the login failure notices.<br>
<br>
If getent fails, then its something wrong with the NIS setup
(misconfiguration or the user doesnt exist in NIS). If it works then
either the password is bad, or its a misconfiguration on the box. If
you can log into the box locally as the user, but not through ssh, then
likely its /etc/pam.conf. If I recall correctly, that file has
different configuration directives for remote and local logins, but its
been a while since I've messed with it.<br>
<br>
Patrick<br>
<br>
-------- Original Message  --------<br>
Subject: Re: [clue-tech] SSH / NIS<br>
From: David L. Willson <a class="moz-txt-link-rfc2396E" href="mailto:DLWillson@TheGeek.NU">&lt;DLWillson@TheGeek.NU&gt;</a><br>
To: CLUE tech <a class="moz-txt-link-rfc2396E" href="mailto:clue-tech@cluedenver.org">&lt;clue-tech@cluedenver.org&gt;</a><br>
Date: Wednesday, May 28, 2008 4:32:09 PM<br>
<blockquote cite="mid:20080528222128.M62353@TheGeek.NU" type="cite">
  <pre wrap="">Hm.  Not working.  Tinker... tinker...  plang.

On Wed, 28 May 2008 16:15:46 -0600, Patrick H wrote
  </pre>
  <blockquote type="cite">
    <pre wrap="">Yes, if the box is setup to authenticate off NIS, then any account you 
try and log in with will be queried off the NIS server by the box you 
are logging into.
The passwd line in /etc/nsswitch.conf controls where accounts are looked 
up from and what order.

Patrick H.

-------- Original Message  --------
Subject: [clue-tech] SSH / NIS
From: David L. Willson <a class="moz-txt-link-rfc2396E" href="mailto:DLWillson@TheGeek.NU">&lt;DLWillson@TheGeek.NU&gt;</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a>
Date: Wednesday, May 28, 2008 4:11:19 PM
    </pre>
    <blockquote type="cite">
      <pre wrap="">Should I be able to SSH into a host that is part of an NIS domain, using an account from
the NIS domain?  I've never used NIS, so I don't know what it's capabilities are.

David L. Willson
Trainer/Engineer/Consultant
MCT, MCSE, Linux+
(720) 333-LANS

_______________________________________________
clue-tech mailing list
<a class="moz-txt-link-abbreviated" href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluedenver.org/mailman/listinfo/clue-tech">http://www.cluedenver.org/mailman/listinfo/clue-tech</a>

      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->

David L. Willson
Trainer/Engineer/Consultant
MCT, MCSE, Linux+
(720) 333-LANS

_______________________________________________
clue-tech mailing list
<a class="moz-txt-link-abbreviated" href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluedenver.org/mailman/listinfo/clue-tech">http://www.cluedenver.org/mailman/listinfo/clue-tech</a>
  </pre>
</blockquote>
<br>
<br>
</body>
</html>