Re: ftp web pages updating in apache?
-----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
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: