FB7141 40.04.50 - Ftp rights stopps working

hrust_ray

Neuer User
Mitglied seit
11 Jan 2007
Beiträge
133
Punkte für Reaktionen
0
Punkte
0
Hallo.
I made update for latest firmware and got some problems.
In debug.cfg I have following:
Code:
echo root:x:0:0:root:/:/bin/sh >> /var/tmp/passwd
echo "admin:UlHehXXXXXXAZWs:1000:0:protected ftp user:/var/media/ftp/ROOT:/bin/sh" >> /var/tmp/passwd
Previously It ives different rights for different users. Now after FWupdate no more access to ftp.
Somebody know what can be the problem?
 
Perhaps you can show us your /etc/passwd? In newer firmwares ctlmgr rewrites /etc/passwd and deletes additional users. (Danke AVM!)

MfG Oliver
 
Ok, I'll post it in the evening.
If it rewrites, can I simply implement sleep, to let ctlmgr make changes in file an then write my data? Or it checks all time if there are changes?

This struggle with AVM new features became funny :)
 
Code:
root:x:0:0:root:/:/bin/sh
admin:UlHeh97SUAZWs:1000:0:protected ftp user:/var/media/ftp/ROOT:/bin/sh
ftpuser:79b2pXXXKvDYQ:1000:0:protected ftp user:/var/media/ftp/ROOT/ftp_public/public:/bin/sh
superftpuser:jLaZXXX0jrMIo:1000:0:protected ftp user:/var/media/ftp/ROOT/ftp_public:/bin.sh
hrustray:Ugvzxj1YXXXcg:1000:0:protected ftp user:/var/media/ftp/ROOT:/bin/sh

So passwd file is not deleted by AVM.
From telnet I see all structure (cd, ls)
 
Kostenlos!

Statistik des Forums

Themen
248,860
Beiträge
2,303,062
Mitglieder
378,513
Neuestes Mitglied
jezmikosay