From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,5e82a1b6ca854685 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-04-05 00:08:58 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: emmanuel.choquet@compaq.com (Emmanuel Choquet) Newsgroups: comp.unix.tru64 Subject: Re: restrictive ftp Date: 5 Apr 2002 00:08:58 -0800 Organization: http://groups.google.com/ Message-ID: <4618c6b9.0204050008.13b6671a@posting.google.com> References: <3CAAE0CA.2E3F4EEB@ijs.si> NNTP-Posting-Host: 161.114.126.51 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1017994138 30961 127.0.0.1 (5 Apr 2002 08:08:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 5 Apr 2002 08:08:58 GMT Xref: archiver1.google.com comp.unix.tru64:7215 Thnk this is part of TCPwrapper, which is delivered on Open source CD with the TRU64 CD kit. It is not supported, but will definitely work Miha Andrejasic wrote in message news:<3CAAE0CA.2E3F4EEB@ijs.si>... > Peter Chiu wrote: > > > > Can someone advise how to restrict a ftp account to > > have access to a specific directory tree, on an Tru64 Unix V5 > > system? > > > > I have seen a posting by someone called (bac), and > > he mentioned about the use of ftpaccess. I tried setting > > something up into /etc/ftpaccess, using the template in > > my Linux box, but no avail. > > > > Thanks. > > Peter > > > > PS. Please reply to p.chiu@rl.ac.uk as this is my first > > posting to this newsgroup - not sure if that works yet. > > Good luck to you. Your posts work. :-) > > Do you want to restric account only or do you like to restrict to > specific IP address. > If you like restriction by IP or domain name you use tcpd. Instal it > than correct '/etc/inetd.conf' like this: > ftp stream tcp nowait root /usr/sbin/tcpd ftpd > Then in files '/etc/hosts.allow' write IPs or domain names you like and > in '/etc/hosts.deny' write ALL:ALL:. > > Restriction to specific IP address or domain name is possible directly > in Tru64 like above, but I think that restriction to specific username > and directory is possible onlly in ftp server software or you can create > user account "ftpuser" on your comp in a group let say "ftpgroup" that > has no permissions in your personal group. This way you can open all > your directories to your personal group but target directory is only > open to ftp user account. > > I hope some of this helps. > > CCCao