SeLLeRoNe
Super Moderator
Hi,
i just made a big error... ive deleted proftpd.passwd file
Ive tryed to find aroun the drive if there was a backup copy but i didnt founded any...
Ive ntoice that there is a ftp.passwd file into every user backup that i have so i should exctract each line from each user ftp.passwd file
but the file backuped is like
admin=passwd=$pFNxF24yyEcOc3Qh0du2N0&path=/home/admin/&type=system
and the proftpd.passwd file is
admin:$1$4899qmK6NL7S.vKbPlaKA1:1004:1005:system:/home/admin:/bin/false
so, im sure there is a way to restore the backuped line to the proftpd.passwd line but i dunno how the restore script work on that file and i would like to restore all the backups (ive a backusp of each user so i can restore the entire file but i dont wanna restore each total user for dont have file/db restore).
can anyone help me solve this trouble with a perl line or with commands line by line or what ever..
thanks a lot to everyone who at least try ^^
Best regards
i just made a big error... ive deleted proftpd.passwd file
Ive tryed to find aroun the drive if there was a backup copy but i didnt founded any...
Ive ntoice that there is a ftp.passwd file into every user backup that i have so i should exctract each line from each user ftp.passwd file
but the file backuped is like
admin=passwd=$pFNxF24yyEcOc3Qh0du2N0&path=/home/admin/&type=system
and the proftpd.passwd file is
admin:$1$4899qmK6NL7S.vKbPlaKA1:1004:1005:system:/home/admin:/bin/false
so, im sure there is a way to restore the backuped line to the proftpd.passwd line but i dunno how the restore script work on that file and i would like to restore all the backups (ive a backusp of each user so i can restore the entire file but i dont wanna restore each total user for dont have file/db restore).
can anyone help me solve this trouble with a perl line or with commands line by line or what ever..
thanks a lot to everyone who at least try ^^
Best regards