Re: Information - SSH & NIS login problem
Dermot C Cassidy <[email protected]>
| Newsgroups | gmane.linux.gentoo.newbies |
|---|---|
| Message-ID | <[email protected]> |
Hi, Two points: >> following the same line of arguement, someone else >> could have type rm -rf * in their root dir (1) There's a big difference between making a very visible mistake like typing 'rm -rf *' in / and not noticing a file which, if there at all, is hidden from normal view! >> i think the issue is that gentoo does not have a csh >> shell ... and if gentoo doesnt have a csh shell, why >> should it be in /etc/shells ? >> gentoo does have the ccsh shell though ... >> and as i look through /etc/shells and the current >> shell ebuilds ... it doesnt look like everything is >> done correctly ... >> -mike (2) Lots of unix users work in a multi-unix environment and use multi-machine accounts. After a while such users tend to evolve a profile which works well on lots of machines. I see no reason why such a profile can't work nicely against gentoo. Having 'csh' in an NIS profile didn't prevent login after all, it just stoped ssh login if there was no 'csh' entry in /etc/shells. Regards, Dermot > > ----- Original Message ----- > From: "Dermot C Cassidy" <[email protected]> > To: <[email protected]>; <[email protected]> > Sent: Tuesday, August 20, 2002 10:13 > Subject: Re: [gentoo-newbies] Information - SSH & NIS login problem > > > > Whoops! Meant to say that it is possible, but that the same could > > happen to someone else. > > > > Dermot > > > > > > is it possible you had a /etc/._cfg_0000_shells file laying around ? > > > > or maybe you nuked the newer ones ? > > > > -mike > > > > > > > > ----- Original Message ----- > > > > From: "Dermot C Cassidy" <[email protected]> > > > > To: <[email protected]> > > > > Sent: Monday, August 19, 2002 07:44 > > > > Subject: [gentoo-newbies] Information - SSH & NIS login problem > > > > > > > > > > > > > Hi, > > > > > > > > > > I pass on this bit of information just in case anyone runs > > > > > into a similar problem. > > > > > > > > > > I was having difficulties connecting into a gentoo box with > > > > > an NIS user. > > > > > > > > > > Here were the symptoms: > > > > > > > > > > (i) I could log in locally using the NIS user. > > > > > (ii) I could telnet in using the NIS user. > > > > > (iii) I could ssh in using local users. > > > > > (iv) I could not ssh in using the NIS user. > > > > > > > > > > Turned out that the NIS user's default shell (/bin/csh) > > > > > was not in /etc/shells. A surpising omission, since I > > > > > think the shells file was in its original state. csh > > > > > may be bad, but NIS users who log into lots of different > > > > > sorts of boxes may be more likely to have it as a > > > > > default. csh, for instance, is widely used on the > > > > > Tru64 Unix boxes here, and they don't have tcsh or bash > > > > > installed by default. > > > > > > > > > > Maddeningly simple when you know the answer! I looked > > > > > at lots of arcane sshd config options before I checked > > > > > the basics! > > > > > > > > > > > > > > > Regards, > > > > > > > > > > Dermot > > > > > > > > > > -- > > > > > Dermot Cassidy, Systems Engineer, MSE A&O > > > > > Hewlett-Packard, Ballybrit Business Park, Galway, Ireland. > > > > > tel: +353-91-754678 / mailto:[email protected] > > > > > _______________________________________________ > > > > > gentoo-newbies mailing list > > > > > [email protected] > > > > > http://lists.gentoo.org/mailman/listinfo/gentoo-newbies > > > > > > > > > _______________________________________________ > > > > gentoo-newbies mailing list > > > > [email protected] > > > > http://lists.gentoo.org/mailman/listinfo/gentoo-newbies > > > _______________________________________________ > > > gentoo-newbies mailing list > > > [email protected] > > > http://lists.gentoo.org/mailman/listinfo/gentoo-newbies > > _______________________________________________ > > gentoo-newbies mailing list > > [email protected] > > http://lists.gentoo.org/mailman/listinfo/gentoo-newbies > > > _______________________________________________ > gentoo-newbies mailing list > [email protected] > http://lists.gentoo.org/mailman/listinfo/gentoo-newbies