Help on Installing and configuring publicfile
Rajkumar s <[email protected]> Mon, 28 Mar 2005 00:35:10 +0530
| Newsgroups | gmane.comp.djb.publicfile |
|---|---|
| Message-ID | <[email protected]> |
Dear sir,
I had installed the following
1.ucspi-tcp after patching it
2.daemontools after patching it
3. publicfile without patching
i had configured the account , using the following command.
/usr/local/publicfile/bin/configure ftp ftplog /public 192.168.0.15
It just created /public and three subdirectories
(1) file
(2) ftpd
(3) httpd
ftp is a default system account , i had created an account called
ftplog using useradd command.
when i'm connecting from remote machine to the server, it doesnot
authenticate (It doesnot ask for password as it's an anonymous ftp )
i could get the files from the directory /public/file/0 either using
recv or get command.
But i couldnot write any file into the /public/file/0 directory even
after enabling ' w ' or FTPWRITE=1 .
After making this to work do i have to authenticate by applying the
patch to public file , and also have to install checkpassword with
patch to it.
I too couldn't find any patch for the checkpassword , can you suggest
me where could i find it (Is it att00023.diff or chkpw.diff) and how
should i use it.
Run script is given below
#!/bin/sh
exec 2>&1
exec envuidgid enmail softlimit -o20 -d50000 tcpserver -vDRHl0 -b20
-c40 -B'220 FTP Server Ready.' 0 21 /usr/local/publicfile/bin/ftpd
/public/file w
The conversation is given below:
[enmail@uno enmail]$ touch hello
[enmail@uno enmail]$ ftp 192.168.0.15
Connected to 192.168.0.15 (192.168.0.15).
220 FTP Server Ready.
Name (192.168.0.15:enmail):
230 Hi. No need to log in; I'm an anonymous ftp server.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bin
200 Okay, using binary.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> get hi
local: hi remote: hi
227 =192,168,0,15,4,119
150 Waiting for transfer connection...
226 Success.
ftp> put hello
local: hello remote: hello
227 =192,168,0,15,4,120
553 Sorry, I don't allow file modification.
ftp> bye
221 Bye.
Can anyone help me out in this regard.
Sincerely,
S.Rajkumar