* restrictive ftp
@ 2002-04-02 11:27 Peter Chiu
2002-04-03 11:00 ` Miha Andrejasic
0 siblings, 1 reply; 4+ messages in thread
From: Peter Chiu @ 2002-04-02 11:27 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: restrictive ftp
2002-04-02 11:27 restrictive ftp Peter Chiu
@ 2002-04-03 11:00 ` Miha Andrejasic
2002-04-05 8:08 ` Emmanuel Choquet
0 siblings, 1 reply; 4+ messages in thread
From: Miha Andrejasic @ 2002-04-03 11:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: restrictive ftp
2002-04-03 11:00 ` Miha Andrejasic
@ 2002-04-05 8:08 ` Emmanuel Choquet
2002-04-05 16:05 ` Sylvain Robitaille
0 siblings, 1 reply; 4+ messages in thread
From: Emmanuel Choquet @ 2002-04-05 8:08 UTC (permalink / raw)
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 <miha.andrejasic@ijs.si> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: restrictive ftp
2002-04-05 8:08 ` Emmanuel Choquet
@ 2002-04-05 16:05 ` Sylvain Robitaille
0 siblings, 0 replies; 4+ messages in thread
From: Sylvain Robitaille @ 2002-04-05 16:05 UTC (permalink / raw)
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.
You'll need to get the wu-ftpd FTP server, I'm fairly sure, to do that.
Head over to ftp.wuftpd.org and get the latest version, and be sure to
also check for (and get and apply) any patches that apply to that
version. I'm fairly certain (though I haven't checked) that as I write
this, the latest version is still 2.6.1, and there are some patches for
it that are important to not create security risks on your system.
I hope that helps...
--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca
Systems analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-04-05 16:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-02 11:27 restrictive ftp Peter Chiu
2002-04-03 11:00 ` Miha Andrejasic
2002-04-05 8:08 ` Emmanuel Choquet
2002-04-05 16:05 ` Sylvain Robitaille
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox