Operating System - HP-UX
1837638 Members
2989 Online
110117 Solutions
New Discussion

Unable to FTP as a NIS user!

 
Mark Porter_1
Occasional Contributor

Unable to FTP as a NIS user!

Bit of a weird one here!
I have four new HP-B2600's & no one with a NIS login can FTP to them with either an sh or tcsh shell(they are listed in /etc/shells and the file is on all the HP's).
I have created a local login with a /sbin/sh shell and this works but if I create a local login with /bin/tcsh as the shell it does not work.
I can FTP to the HP B2600's as ROOT no problem!
We do not use FTPAccess and any of our users can FTP to other machines so I am a bit confused as to what could be the problem.
Hope someone can help
Cheers
Mark Porter
6 REPLIES 6
Alex Glennie
Honored Contributor

Re: Unable to FTP as a NIS user!

I'd ypcat /etc/shells from the affected systems ?

if the relevant shells don't appear in the master map I suspect that might be your problem so you'd need to edit the masters file and push the file back out to the clients -yppush (I think) ?
Alex Glennie
Honored Contributor

Re: Unable to FTP as a NIS user!

scratch that idea .../etc/shells is not a normal map file and it *shouldn't* make much difference given your earlier tests or comments .... still thinking ....
Alex Glennie
Honored Contributor

Re: Unable to FTP as a NIS user!

what are the O/S involved here a mixture of 10.20 and 11.00 .... could there be a link wrt this and/or the version of the shell;

I've read somewhere that tcsh on 11.0 is version 6.09, and thereis an incompatibility with it and NIS and 11.0. Needs 6.04 version for tcsh to work ?
Mark Porter_1
Occasional Contributor

Re: Unable to FTP as a NIS user!

Alex - I have tried with a NIS login set to /sbin/sh and this did not work either - the only difference that I know of is that the new B2600's are running HP-UX 11.11 and the other HP's are just running 11 - I don't know if this will help you?

Regards

Mark Porter
Alex Glennie
Honored Contributor

Re: Unable to FTP as a NIS user!

No it's made it worse .... the only think I can think of would be patch levels then but it doesn't really hold water.

Any NIS guru's out there ?
Steve Labar
Valued Contributor

Re: Unable to FTP as a NIS user!

The type of shell the users have shouldn't matter because FTP doesn't use the shell. Are you sure the B2600's have been configured in the same NIS domain and allow the proper NIS users? At the B2600, do a ypcat passwd and verify the users are on that list. If not, in the B2600 /etc/passwd file add
+username
to the end of the file for each NIS user you want. Or add just a "+" at the end to allow all NIS users.