easy step-by-step through ftp?

Chris Aitken aitken-BwLjziHGQLusTnJN9+BGXg at public.gmane.org
Thu Oct 23 10:12:39 UTC 2003


Keith Mastin wrote:

> Okay then.. whats the result of pwd (print working directory)?

Always /

> Where do
> you have the root directory set in the ftp configs?

I guess at  /home/chris on the remote machine - that was the
problem - I could never cd higher than that (to get to /dev/hdb2
a.k.a. /locbudrv on the remote machine). I don't know how to
set the root directory in the ftp configs, as you put it - I'll have
to learn that.

> Is this server for anonymous ftp, real users, ...? What ftp server
> software are you running?

I'm just using it to back up my home directory across the network.
I'm trying to implement a plan in which I have a local backup (to slave
drive), network backup (to another machine), and off-site backup (to,
say, a floppy, if the tar.gz will fit, or a cd, which will be my next
enjoyable headache to configure).

> Use pwd to find where you are in a system. If you have a secure server it
> should show your /home dir as /, meaning you can't go outside of it or see
> the system files upstream from the home dir.

OK - I see that now.

> If you're in an anonymous
> server it will again show the ftp root dir and running pwd should show 4
> dirs: bin, etc, lib and pub. You need to cd pub to see the files and dirs
> inside it.

That's a little beyond me tonight, but will probably seem embarassingly
simple tomorrow.

> I think you might benefit from reading up on chroot if your not familiar
> with it.

I'm not.

> It's a good idea if you value your ftp server's integrity.

OK, thanks for the 411.

Goodnight.

Chris


--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list