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-03 03:15:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!area.cu.mi.it!kirk.uli.it!phobos.ibnetwork.net!ams.uu.net!news-hub.siol.net!kanja.arnes.si!news.ijs.si!not-for-mail From: Miha Andrejasic Newsgroups: comp.unix.tru64 Subject: Re: restrictive ftp Date: Wed, 03 Apr 2002 13:00:26 +0200 Organization: Jozef Stefan Institute Message-ID: <3CAAE0CA.2E3F4EEB@ijs.si> References: NNTP-Posting-Host: jerca.ijs.si Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: goodnews.ijs.si 1017831627 1154 194.249.230.86 (3 Apr 2002 11:00:27 GMT) X-Complaints-To: newsmaster@ijs.si NNTP-Posting-Date: Wed, 3 Apr 2002 11:00:27 +0000 (UTC) X-Mailer: Mozilla 4.76 [en] (X11; U; OSF1 V5.1 alpha) X-Accept-Language: en Xref: archiver1.google.com comp.unix.tru64:7193 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 -- Miha Andrejasic