som novacik v linuxe a moj prvy vaznejsi kontakt je vlastne vdaka Olegovmu firmwaru pre moj router.
Ide o to, ze sa na nom pokusam nastavis Proftp server, ale stale sa mi to nedari. Presliedil som niekolo for a zatial nic neviedlo k uspechu. Vzdy ked sa snazim pripojit ako anonymni pouzivat dostanem spat tuto hlasku >
530 - Unable to set anonymous privileges
Moj proftpd.conf pre Proftpd je takyto :
ServerName "Skynet ProFTP server"
ServerType standalone
DefaultServer on
SystemLog /tmp/harddisk/logs/ftp
Port 21
Umask 022
MaxClientsPerHost 2
MaxInstances 4
TimeoutStalled 300
TimeoutSession 300
UseReverseDNS off
PassivePorts 49100 49105
<Global>
RootLogin off
RequireValidShell off
AllowStoreRestart off
AllowRetrieveRestart on
TransferRate RETR 60:8192
TransferRate APPE,STOR 150:16256
</Global>
<Limit SITE_CHMOD>
DenyAll
</Limit>
# Set the user and group under which the server will run.
User nobody
Group nobody
AllowOverwrite off
<Anonymous /tmp/mnt/disc0_3/ftp>
User ftp
Group ftp
UserAlias anonymous ftp
AnonRequirePassword off
RequireValidShell off
MaxClients 4 "Sorry, maximum 4 tahaci. Skus neskor..."
AllowOverwrite off
PathAllowFilter "^[-A-Za-z0-9._+]*$"
PathDenyFilter "(^|/)[-.]"
AllowFilter "^[a-zA-Z0-9 .,/_+\-]*$"
<Limit ALL>
DenyAll
</Limit>
<Limit DIRS READ>
AllowAll
</Limit>
<Directory upload>
HideFiles \*$
Umask 022 022
<Limit ALL>
DenyAll
</Limit>
<Limit CWD MKD XCWD XMKD>
AllowAll
</Limit>
<Limit STOR STOU>
AllowAll
</Limit>
</Directory>
</Anonymous>
Prava pre ftp adresar su :
drwxrwxr-x 3 ftp ftp 4096 Aug 17 10:13 ftp
Cast mojho psswd suboru
nobody:x:99:99:nobody:/:/sbin/nologin
ftp:x:1000:999:ftp:/tmp/harddisk/ftp:/sbin/nologin
A cast z group suboru :
nobody:x:99:
ftp:x:999:ftp
ftp uzivatel bol pridany cez prikaz adduser a skupinu ftp som pripisal rucne do suboru group, kedze tento routerovy linux nema ziadny command na toto (takto to ludia popisuju aj Olegovom fore).
Neviem kde neviem kde robim chybu, ak by vas nieco napadlo bol by som vdacny..... :)