Page 2 of 2

Re: gargoyle ftp login problem

Posted: Sat Jun 29, 2013 11:14 am
by ericwong
By using a working TP-link TL-WR1043ND running the official build of gargoyle, I finally found the problem... which I can manually fix for the time being.

in my "faulty ftp build"
passwd looks like this..

root:x:0:0:root:/root:/bin/ash
daemon:*:1:1:daemon:/var:/bin/false
ftp:*:55:55:ftp:/tmp/share_home/anonymous:/bin/false
network:*:101:101:network:/var:/bin/false
nobody:*:65534:65534:nobody:/var:/bin/false
:/tmp/share_home/test:/bin/false

-------------
in a working build, it should look like this..

root:x:0:0:root:/root:/bin/ash
daemon:*:1:1:daemon:/var:/bin/false
ftp:*:55:55:ftp:/tmp/share_home/anonymous:/bin/false
network:*:101:101:network:/var:/bin/false
nobody:*:65534:65534:nobody:/var:/bin/false
test:x:1000:1000:test:/tmp/share_home/test:/bin/false
---------------

in my "faulty ftp build"
shadow looks like this..

root:$1$gz..................S0LaKF1:11323:0:99999:7:::
daemon:*:0:0:99999:7:::
ftp:*:0:0:99999:7:::
network:*:0:0:99999:7:::
nobody:*:0:0:99999:7:::

-------------
in a working build, it should look like this..
root:$1$Ut7..................Eq3uPL0dZ8/:15879:0:99999:7:::
daemon:*:0:0:99999:7:::
ftp:*:0:0:99999:7:::
network:*:0:0:99999:7:::
nobody:*:0:0:99999:7:::
test:$1$lDx........vQP1JoD.3a6K/avmAdqW0:15878:0:99999:7:::
---------

Using the latest gargoyle revision, ID: 04ff0f8b282b57f41a9223977695ebeaeaf988ce
06/28/2013 04:56 pm

I still have this bug... I suspect this bug is probably introduced from the code changes after 1.5.10 is released.