DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-11-19 14:50:07

myjess
Member
Registered: 2009-06-03
Posts: 20

can someone please post the passwd file. mine got corrupted.

can someone please post the passwd file. mine got corrupted, lost the nobody username, so samba stopped working. thanks.

Offline

 

#2 2010-11-19 15:37:07

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: can someone please post the passwd file. mine got corrupted.

I believe if you reboot it is copied back from ROM.
From /etc/rc.sh:

Code:

cp -f /sys/mtd1/passwd /etc/passwd

But just in case:

Code:

/etc # cat passwd
root:x:0:0:Linux User,,,:/home/root:/bin/sh
admin:x:500:500:Linux User,,,:/home/admin:/bin/sh
nobody:x:501:501:Linux User,,,:/home/nobody:/bin/sh

In /etc you should also have a backup/tmp copy called passwd_tmp that you should be able to copy over.

Last edited by FunFiler (2010-11-19 15:47:59)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#3 2010-11-19 19:09:57

myjess
Member
Registered: 2009-06-03
Posts: 20

Re: can someone please post the passwd file. mine got corrupted.

thanks. i have restarted many times via gui, but made no diff. i actually have a dns-313 but that forum is pretty dead so i asked in this one.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB