Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 06-15-2005, 09:38 AM   #1
Registered: Aug 2004
Location: Virginia
Distribution: Ubuntu
Posts: 38

Rep: Reputation: 15
Question about NIS

Ok, I'm working on a Solaris 8 network using NIS...not NIS+, Just NIS. Recently some of the admins have had a problem with SSHing to one of the servers...this problem has recently spread to my account.

Just now I went as far as completely removing and recreating my useraccount, giving the system more then enough time to propogate the information yet the same problem exist.

The server giving some of us problems is the root master server and is the primary handler of all of our NIS authentications. Also, the affected accounts can still SSH to other workstations and the backup RMS. To add another twist, while a few accounts are affected...there is still one admin who has no problem SSHing to the RMS.

Unfortunatly, I can not post up any code or output of commands or files so I'm just trying to get some suggestions on where to look, something like a big neon sign pointing me in the general direction I need to be looking.

Thanks in advance...
Old 06-15-2005, 09:47 AM   #2
Registered: Jan 2005
Location: India
Distribution: Fedora Core 2
Posts: 83

Rep: Reputation: 15
Maybe it has to do with filtering using tcpwrappers . Check the /etc/hosts.allow and /etc/hosts.deny files . Also try disabling the firewalls
Old 06-17-2005, 09:06 AM   #3
Registered: Aug 2004
Location: Virginia
Distribution: Ubuntu
Posts: 38

Original Poster
Rep: Reputation: 15
Sorry for the delayed responce.

Unfortunatly I do not have the option of disabling the firewall at all...also, the /etc/host.allow/deny files do not exist but then again, the host itself isn't being denied.

Firstly, certain users can SSH from that same terminal without issue.

Second, the accounts that do not work do not work from anywhere.

Third, we are not being denied a connection to the server, we're being told that the login is incorrect.

I've even tried resetting my password directly from that server but no change.

Also, if another user logs onto the server and then does a su - username and I enter my password, it accepts it without issue.
Old 06-26-2005, 01:14 PM   #4
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257

Rep: Reputation: 30
Hi ,
Im just prep 4 my forgive if this is inaccurate .

Checkpoint 1 : do a ypmatch username passwd on a server where ur able to get in and 1 in whic ur not able to get in n see if the encrypted shadow password is the same .

Checkpoint 2 : You mentioned that u werent able to get in directly on the server ; do 1 thing...can u recreate ur account directly on the NIS Master...dont let it pull from somewhere..just create it right there and wait for the time interval and the ntry and login...mebbe there is some problem pulling it form the slaves n stuff...

Checkpoint 3 : Do all the ppl who arent able 2 get in on the same homedirectory server ; I mean same partition or something??...mebbe bad sectors on dat part of the disk..or sumthing..

All this sounds sorta primitive but u never know man..lemme know...all the best



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS question gnubee Linux - Networking 2 09-06-2004 11:48 PM
NIS question~ ]un]ie Solaris / OpenSolaris 1 07-30-2004 11:06 AM
NIS question pfaendtner Linux - Networking 3 07-28-2004 09:05 AM
NIS Question jayakrishnan Linux - Networking 14 08-08-2002 10:43 AM
NIS Question jayakrishnan Linux - General 3 05-27-2002 05:42 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration