1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

can't login via ssh after edit etc/passwd

Discussion in 'Cisco/Linksys Network Storage Devices' started by marcars, May 22, 2011.

  1. marcars

    marcars Networkin' Nut Member

    hi
    i can't more login to nas200 via ssh as root with pass root. I have all time the answer "access denied" after writing password "root".

    I have in my etc/passwd writed:

    Code:
    root:qbV9wjLz5q7kU:0:0:root:/:/bin/sh
    root:md5:/harddisk/volume_1/conf/root:/harddisk/volume_1/data/rc.d/busybox/busybox
    bin:x:1:1:bin:/bin:
    lp:x:4:7:lp:/share/spool:
    mail:x:8:12:mail:/var/spool/mail:
    ftp:x:14:50:FTP User:/:
    nobody:x:99:99:Nobody:/:
    ourtelnetrescueuser:sPuRQwXaya5YE:100:100::/home/user:/bin/sh
    guest:sc50wKPq.zChw:501:501:::/dev/null1
    admin:sc2UL0iEQ16Jw:502:501:::/dev/null1
    
    mario:sc4ykw8ERwx96:2000:501:::/dev/null1
    after that i broke my nas200 to access with winSCP. Can anybody help me?
     
  2. jac_goudsmit

    jac_goudsmit Super Moderator Staff Member Member

  3. marcars

    marcars Networkin' Nut Member

    thanks for quick answer but i have all time problems with my nas200. After the reset i can't see my folder disk1 and disk2 i see only public disk 1 and public disk 2. Why dooes happends? And i have check this tutorial with rc.resetrootpassword but didn't work. After that i see new file "filesafe" or something like that. Please tell me what can i do to completly reset the nas200 to defaults settings and than one more time flash the nas with your soft.
     
  4. jac_goudsmit

    jac_goudsmit Super Moderator Staff Member Member

    If you only see the "PUBLIC DISK 1" and "PUBLIC DISK 2" shares, it means you're logged in as guest. Go to the web GUI and turn off the option "convert failed logins to guest logins". See question W1 on the FAQ.

    ===Jac
     
  5. marcars

    marcars Networkin' Nut Member

    emisho peopre

    thanks a lot!! now i see diks 1 and blue people:):wink:
     

Share This Page