Re: ftp web pages updating in apache?

1997-07-31 Thread Nils Rennebarth
-BEGIN PGP SIGNED MESSAGE-

On Mon, 28 Jul 1997, dada wrote:

Hi

How can I do to permit that one user, that have count in my computer
(attached to and TCP/IP local network),can actualice your web pages?

I want the next:

1.- If the user make an authenticated ftp access,he must go to directory
where is his web pages (but *only* to thats directory).

2.- If the user make an anonymous ftp, he must go to my ftp server   
(that works OK now)
Install wu-ftpd (if you not already did so)

- - create a new group named e.g. ftponly
- - make the user a member of ftponly
- - give the user a loginshell /usr/local/bin/ftponly
  This is a shellscript along the lines
#!/bin/sh
echo Only FTP access allowed
sleep 5
exit 0
- - Add the line
guestgroup ftponly
  to /etc/ftpd/ftpaccess

If the users homedirectory is not under /home/ftp then
  cd /home/the_said_user
  cp -a /home/ftp/{bin,lib,etc} .

Now the user needs to authenticate itself with name and password, and
can only ftp to the webspace (no shell access) and gets a chrooted
environment of his home directory.

Is it this what you want?

Nils

- -- 
 \  /| Nils Rennebarth
--* WINDOWS 42 *--   | Schillerstr. 61 
 /  \| 37083 Göttingen
 | ++49-551-71626
   Micro$oft's final answer  | http://www.nus.de/~nils

-BEGIN PGP SIGNATURE-
Version: 2.6.3i
Charset: noconv

iQB1AwUBM+Cn3VptA0IhBm0NAQGRuAL/be8YbsGcq6BxCevE1e32b3gr5VvcW5Lp
oFINJ1AZwZFrGnkQWxiWRXv+jaiYAMuj+7TOLEpG/q0vqfgCnycrweQvXfcm6s1B
S9UMavGzhwGETJ89jUGCkUa8JKR4fK/a
=bo1C
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ftp web pages updating in apache?

1997-07-29 Thread R. Chris Ross
I am looking at a similar question.  There is a company that is
supposed to be laying out web pages for my company.  I would like to have
them set up so that they can FTP their data in, both us and them can look
at it and off we go.  It seamed that the easiest way was to set them up as
a user then symlink the directory that is the document root for apache in
the /home/user directory then they would have access.  If I understand
correctly, when a user logs in via FTP they are put into their home
directory by default they would cd to the document root.

On Mon, 28 Jul 1997, Beauvalot Erik wrote:

 
 Normally the web pages of the users are like that
 
   http://www.yourweb.com/~username
 
 In the user directory you should have a public_html directory
 (It's the default) and all the pages of the user are in this directory
 so if the user connect himself with his userid via FTP, he will be able
 to change evry thing in this directory.
 
 
 At 11:55 28/07/97 +0200, dada wrote:
 Hi
 
 How can I do to permit that one user, that have count in my computer
 (attached to and TCP/IP local network),can actualice your web pages?
 
 I want the next:
 
 1.- If the user make an authenticated ftp access,he must go to directory
 where is his web pages (but *only* to thats directory).
 
 2.- If the user make an anonymous ftp, he must go to my ftp server   
 (that works OK now)
 
 
 bye
 
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . 
 Trouble?  e-mail to [EMAIL PROTECTED] .
 
 -
 Erik BEAUVALOT ATT RD Lab Manager of Paris/EMEA
 Tel : +(33)1 47 67 46 06   GSM: +(33)6 09 48 32 11
 E-Mail : [EMAIL PROTECTED]
 http://www.beauvalot.com/
 -
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . 
 Trouble?  e-mail to [EMAIL PROTECTED] .
 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ftp web pages updating in apache?

1997-07-29 Thread Kai Grossjohann
 On Mon, 28 Jul 1997, R Chris Ross said:

  Chris [...] I would like to have them set up so that they can FTP
  Chris their data in, both us and them can look at it and off we go.
  Chris It seamed that the easiest way was to set them up as a user
  Chris then symlink the directory that is the document root for
  Chris apache in the /home/user directory then they would have
  Chris access.  If I understand correctly, when a user logs in via
  Chris FTP they are put into their home directory by default they
  Chris would cd to the document root.

People who use anonymous ftp to connect to your machine can only see
the ~ftp subtree.

But people who use non-anonymous ftp can see all of your machine!
(Unix file permissions permitting.)

kai
-- 
A large number of young women don't trust men with beards.
(BFBS Radio)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


ftp web pages updating in apache?

1997-07-28 Thread dada
Hi

How can I do to permit that one user, that have count in my computer
(attached to and TCP/IP local network),can actualice your web pages?

I want the next:

1.- If the user make an authenticated ftp access,he must go to directory
where is his web pages (but *only* to thats directory).

2.- If the user make an anonymous ftp, he must go to my ftp server   
(that works OK now)


bye



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ftp web pages updating in apache?

1997-07-28 Thread Beauvalot Erik

Normally the web pages of the users are like that

http://www.yourweb.com/~username

In the user directory you should have a public_html directory
(It's the default) and all the pages of the user are in this directory
so if the user connect himself with his userid via FTP, he will be able
to change evry thing in this directory.


At 11:55 28/07/97 +0200, dada wrote:
Hi

How can I do to permit that one user, that have count in my computer
(attached to and TCP/IP local network),can actualice your web pages?

I want the next:

1.- If the user make an authenticated ftp access,he must go to directory
where is his web pages (but *only* to thats directory).

2.- If the user make an anonymous ftp, he must go to my ftp server   
(that works OK now)


bye



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

-
Erik BEAUVALOT ATT RD Lab Manager of Paris/EMEA
Tel : +(33)1 47 67 46 06   GSM: +(33)6 09 48 32 11
E-Mail : [EMAIL PROTECTED]
http://www.beauvalot.com/
-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .