Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Miha Andrejasic <miha.andrejasic@ijs.si>
Subject: Re: restrictive ftp
Date: Wed, 03 Apr 2002 13:00:26 +0200	[thread overview]
Message-ID: <3CAAE0CA.2E3F4EEB@ijs.si> (raw)
In-Reply-To: f293b93f.0204020327.67cc3e57@posting.google.com

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


  reply	other threads:[~2002-04-03 11:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-02 11:27 restrictive ftp Peter Chiu
2002-04-03 11:00 ` Miha Andrejasic [this message]
2002-04-05  8:08   ` Emmanuel Choquet
2002-04-05 16:05     ` Sylvain Robitaille
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox