Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* FTP
@ 2001-01-25 15:14 Sylvie en Stefan (Functionele MRI)
  2001-01-25 21:10 ` FTP peter
  0 siblings, 1 reply; 9+ messages in thread
From: Sylvie en Stefan (Functionele MRI) @ 2001-01-25 15:14 UTC (permalink / raw)


Dear All ,
Does anyone knows how to ftp directory tree on SGI 6.5 ?
In the man pages of ftp there is not one word about directory . I have
about 20 giga that have to ftp to another machine and don't really want
to use scp or rcp  . After that I have to backup data to DLT tape .
I could mount the directory but would like to use ftp  .

Any ideas ?
I remember that I saw a script doing zip,tar and ftp at the same time
but don't know were i saw it .

Thks



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: FTP
  2001-01-25 15:14 FTP Sylvie en Stefan (Functionele MRI)
@ 2001-01-25 21:10 ` peter
  0 siblings, 0 replies; 9+ messages in thread
From: peter @ 2001-01-25 21:10 UTC (permalink / raw)


In comp.unix.admin "Sylvie en Stefan (Functionele MRI)" <fmri@uz.kuleuven.ac.be> wrote:
> Dear All ,
> Does anyone knows how to ftp directory tree on SGI 6.5 ?
> In the man pages of ftp there is not one word about directory . I have
> about 20 giga that have to ftp to another machine and don't really want
> to use scp or rcp  . After that I have to backup data to DLT tape .
> I could mount the directory but would like to use ftp  .

Ever tried "rdist" ?

(sgi supplies one that - well works, at least to other sgi, but
the modern rdist compiles ok)


> Any ideas ?
> I remember that I saw a script doing zip,tar and ftp at the same time
> but don't know were i saw it .

> Thks


-- 
Peter H�kanson               Phone     +46707328101       Fax +4631223190
IPSec sverige                Email      peter@ipsec.nu  
"Safe by design"             Address    Bror Nilssons gata 16  Lundbystrand
                                        S-417 55  Gothenburg   Sweden         


^ permalink raw reply	[flat|nested] 9+ messages in thread

* FTP
@ 2002-06-22  8:35 Brahim
  2002-06-22 12:58 ` FTP Kjell Andresen
  2002-06-23  0:45 ` FTP Peter da Silva
  0 siblings, 2 replies; 9+ messages in thread
From: Brahim @ 2002-06-22  8:35 UTC (permalink / raw)


Hi,

How can it be made possible to let a user login through ftp ( No shell
in /etc/passwd!, so no telnet logins allowed ) and prevent that user
to use the CD subcommand?

We want that user to just pick up some files in his homedirectory
/var/appl/logdir and not to be allowed snooping around on the system.

Thanks in advance for all your suggestions.

Brahim Mouhdi


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: FTP
  2002-06-22  8:35 FTP Brahim
@ 2002-06-22 12:58 ` Kjell Andresen
  2002-06-23 12:30   ` FTP Brahim
  2002-06-23  0:45 ` FTP Peter da Silva
  1 sibling, 1 reply; 9+ messages in thread
From: Kjell Andresen @ 2002-06-22 12:58 UTC (permalink / raw)


bmo@xs4all.nl (Brahim) writes:

> How can it be made possible to let a user login through ftp ( No
> shell in /etc/passwd!, so no telnet logins allowed ) and prevent
> that user to use the CD subcommand?
> 
> We want that user to just pick up some files in his homedirectory
> /var/appl/logdir and not to be allowed snooping around on the system.

"man tftp"?
You need one line in /etc/inetd.conf, make it tcp-wrapped and
HUP inetd.

-- 
Mvh Kjell Andresen, UiO/USIT/SAPP/BSD, Boks 1059 Blindern, N-0316 Oslo


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: FTP
  2002-06-22  8:35 FTP Brahim
  2002-06-22 12:58 ` FTP Kjell Andresen
@ 2002-06-23  0:45 ` Peter da Silva
  2002-06-23 12:31   ` FTP Brahim
  2003-02-14 20:19   ` FTP hgabel
  1 sibling, 2 replies; 9+ messages in thread
From: Peter da Silva @ 2002-06-23  0:45 UTC (permalink / raw)


In article <cafabb48.0206220035.74a0e225@posting.google.com>,
Brahim <bmo@xs4all.nl> wrote:
> We want that user to just pick up some files in his homedirectory
> /var/appl/logdir and not to be allowed snooping around on the system.

Run the ftpd in a chrooted environment:

First, in inetd.conf, replace "ftpd" with "chroot /var/jail/logdir /usr/sbin/ftpd".

ftp stream tcp nowait root /usr/sbin/chroot chroot /var/jail/logdir /usr/sbin/ftpd

Then in /var/jail, create a "mini unix" environment: you'll need to
duplicate /etc/passwd, /bin/ls, and of course /usr/sbin/ftpd.

You can now remove all the other users from passwd, and change his home
directory to "/logdir".

Now when ftpd runs all it can see is the contents of /var/jail.

You can do this with other applications, including telnet, if you want to
restrict access to specific files.

-- 
I've seen things you people can't imagine. Chimneysweeps on fire over the roofs
of London. I've watched kite-strings glitter in the sun at Hyde Park Gate.  All
these things will be lost in time, like chalk-paintings in the rain.   `-_-'
Time for your nap.  | Peter da Silva | Har du kramat din varg, idag?    'U`


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: FTP
  2002-06-22 12:58 ` FTP Kjell Andresen
@ 2002-06-23 12:30   ` Brahim
  0 siblings, 0 replies; 9+ messages in thread
From: Brahim @ 2002-06-23 12:30 UTC (permalink / raw)


Kjell Andresen <kjell@usit.uio.no> wrote in message news:<u8nk7or79n3.fsf@beta.uio.no>...
> bmo@xs4all.nl (Brahim) writes:
> 
> > How can it be made possible to let a user login through ftp ( No
> > shell in /etc/passwd!, so no telnet logins allowed ) and prevent
> > that user to use the CD subcommand?
> > 
> > We want that user to just pick up some files in his homedirectory
> > /var/appl/logdir and not to be allowed snooping around on the system.
> 
> "man tftp"?
> You need one line in /etc/inetd.conf, make it tcp-wrapped and
> HUP inetd.

Subject says FTP, doesn't it?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: FTP
  2002-06-23  0:45 ` FTP Peter da Silva
@ 2002-06-23 12:31   ` Brahim
  2003-02-14 20:19   ` FTP hgabel
  1 sibling, 0 replies; 9+ messages in thread
From: Brahim @ 2002-06-23 12:31 UTC (permalink / raw)


peter@abbnm.com (Peter da Silva) wrote in message news:<af35mk$kc5@web.eng.baileynm.com>...
> In article <cafabb48.0206220035.74a0e225@posting.google.com>,
> Brahim <bmo@xs4all.nl> wrote:
> > We want that user to just pick up some files in his homedirectory
> > /var/appl/logdir and not to be allowed snooping around on the system.
> 
> Run the ftpd in a chrooted environment:
> 
> First, in inetd.conf, replace "ftpd" with "chroot /var/jail/logdir /usr/sbin/ftpd".
> 
> ftp stream tcp nowait root /usr/sbin/chroot chroot /var/jail/logdir /usr/sbin/ftpd
> 
> Then in /var/jail, create a "mini unix" environment: you'll need to
> duplicate /etc/passwd, /bin/ls, and of course /usr/sbin/ftpd.
> 
> You can now remove all the other users from passwd, and change his home
> directory to "/logdir".

> 
> Now when ftpd runs all it can see is the contents of /var/jail.
> 
> You can do this with other applications, including telnet, if you want to
> restrict access to specific files.


Thanks, excellent help, thank you.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: FTP
  2002-06-23  0:45 ` FTP Peter da Silva
  2002-06-23 12:31   ` FTP Brahim
@ 2003-02-14 20:19   ` hgabel
  2003-02-16 16:04     ` FTP Nico Kadel-Garcia
  1 sibling, 1 reply; 9+ messages in thread
From: hgabel @ 2003-02-14 20:19 UTC (permalink / raw)



Originally posted by Peter Da Silva 
> In article <cafabb48.0206220035.74a0e225@posting.google.com>, Brahim
> <bmo@xs4all.nl> wrote:
> > We want that user to just pick up some files in his
>     homedirectory /var/appl/logdir
> > and not to be allowed snooping around on the system.
>
> Run the ftpd in a chrooted environment:
>
> First, in inetd.conf, replace "ftpd" with "chroot /var/jail/logdir
> /usr/sbin/ftpd".
>
> ftp stream tcp nowait root /usr/sbin/chroot chroot /var/jail/logdir
> /usr/sbin/ftpd
>
> Then in /var/jail, create a "mini unix" environment: you'll need to
> duplicate
> /etc/passwd, /bin/ls, and of course /usr/sbin/ftpd.
>
> You can now remove all the other users from passwd, and change his
> home directory to
> "/logdir".
>
> Now when ftpd runs all it can see is the contents of /var/jail.
>
> You can do this with other applications, including telnet, if you want
> to restrict
> access to specific files.
>
> --
> I've seen things you people can't imagine. Chimneysweeps on fire over
> the roofs of
> London. I've watched kite-strings glitter in the sun at Hyde Park
> Gate. All these
> things will be lost in time, like chalk-paintings in the rain. `-_-'
> Time for your
> nap. | Peter da Silva | Har du kramat din varg, idag? 'U`
> 

Peter - we don't want all our ftp users to have this restriction - just
one.  Is there a way to run parallel ftpd's?

--
Posted via http://dbforums.com


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: FTP
  2003-02-14 20:19   ` FTP hgabel
@ 2003-02-16 16:04     ` Nico Kadel-Garcia
  0 siblings, 0 replies; 9+ messages in thread
From: Nico Kadel-Garcia @ 2003-02-16 16:04 UTC (permalink / raw)



"hgabel" <member25002@dbforums.com> wrote in message
news:2531496.1045253993@dbforums.com...

> Peter - we don't want all our ftp users to have this restriction - just
> one.  Is there a way to run parallel ftpd's?

You might examine www.proftpd.com. Their tools work rather well and have
excellent documentation, and have historically been much more secure than
most FTP servers.

They have both correct handling of virtual FTP hosts, and of individual
users whose chrooted locations are set by the use of /home/./username with
the chroot being at /home/./ ...




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-02-16 16:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-22  8:35 FTP Brahim
2002-06-22 12:58 ` FTP Kjell Andresen
2002-06-23 12:30   ` FTP Brahim
2002-06-23  0:45 ` FTP Peter da Silva
2002-06-23 12:31   ` FTP Brahim
2003-02-14 20:19   ` FTP hgabel
2003-02-16 16:04     ` FTP Nico Kadel-Garcia
  -- strict thread matches above, loose matches on Subject: below --
2001-01-25 15:14 FTP Sylvie en Stefan (Functionele MRI)
2001-01-25 21:10 ` FTP peter

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