Subject: chroot not working on NIS client...

From: "Steve R. Harding" <[email-masked]>
Date: Tue, 17 Oct 1995 07:29:08 -0700 (PDT)

I don't know if this has anything to do with NIS or not, but...

Our local network consists of SPARCstations all running Solaris 2.3, operating
under NIS (not NIS+).

Several weeks ago, on my NIS server, I set up a guest group consisting of 
one account, for test purposes.  After some help from this mailing list, 
I got it working very satisfactory.  The test account is of group "customer"
in our /etc/group files and NIS, and in the ftpaccess file, I have the line
"guestgroup customer", which translates the customer group into the guest
group.

Now, I am trying to do the same thing on a different machine for our customers.
This new machine is an NIS client.  I have set things up exactly (I think)
the same way, yet when I ftp in as the guest account, the ftpd treats me like
I am a real user, thus giving me access to the entire <bleep>ing file system.
I have also set up anonymous ftp on both the NIS client and the server, and
it works on both with no problem.

Here is what I can guarantee the same on both machines:
ftpd
ftpaccess
ftpconversions
ftpbanner
/etc/ftpgroups
/etc/ftpusers
/etc/shells
/etc/inetd.conf
Plus, the entire heirarchy of directories in the guest home directory is the
same on both machines.

Does anybody have any ideas?  My guesses are that either the ftpd cannot 
recognize the "customer" group of the guest login, or is not reading the
ftpaccess file correctly.  Note: I can rlogin into either the NIS client or
server using the guest login, so I know that NIS is working normally.

I am in panic mode since this system is supposed to be operational tonight.
*Any* ideas would be greatly appreciated.
-----------------------------------------------------------------------------
Steve Harding                                      Email: [email-masked]
TACTech, Inc.                                      Voice: (714) 974-7676 ext.15
Yorba Linda, CA

---

From: "Steve R. Harding" <[email-masked]>
Date: Tue, 17 Oct 1995 09:46:01 -0700 (PDT)

> it works on both with no problem.

<clip>

Hi boys and girls!

Guess what the problem was?
/etc/inetd.conf was *not* the same on the client machine.  An old inetd.conf
had been copied over it, so the old Solaris ftpd was being used.  How 
embarrassing, irritating, etc. etc.  My apologies to all who spent any amount
of time thinking about this problem.

-------------------------------------------------------------------------------
Steve Harding                                      Email: [email-masked]
TACTech, Inc.                                      Voice: (714) 974-7676 ext.15
Yorba Linda, CA