Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    howto fix corrupted sudoers file?

    Reply
    Page 2 of 2 | Prev |   1   2 |
    born2wonder | # 11 | 2010-02-12, 16:30 | Report

    Originally Posted by morlix View Post
    I have installed rootsh, but sudo gainroot doesn´t work without a valid sudoers file and rootsh /bin/sh says that it is deprecated and is should use root or sudo gainroot instead.
    Have you tried "sudo nano /etc/sudoers" as user instead of "sudo gainroot" ?
    I doubt it will work but worth a shot. Otherwise, Rob1n's suggestion is your best bet.

    Originally Posted by
    I do not have a microSD cad yet to make a backup.
    You do not need a microSD card since the backup can be stored on the 32gb flash memory.

    Shaq

    Edit | Forward | Quote | Quick Reply | Thanks

     
    morlix | # 12 | 2010-02-12, 16:46 | Report

    @born2wonder

    No "sudo nano /etc/sudoers" doesn´t work. I tried with vim, but this shouldn´t make a difference.

    Originally Posted by
    You do not need a microSD card since the backup can be stored on the 32gb flash memory.

    Shaq
    That´s right. I had my N900 connected via USB, because of that the backup apps said no microSD card for backup available.
    After removing the usb cable the backup is working fine.

    I think i´m going to reflash the device, because any other way will take so much time to fix it.

    thanks anyone!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    asys3 | # 13 | 2010-02-12, 18:09 | Report

    I have the exact same problem here - but I am quite sure I only installed catorize.
    Afterwards the sudoers file was corrupted.
    What a pity that I haven't installed sshd server before :-(

    Please post here if you have success with reflashing.
    Than I'll do the same.

    asys3

    Edit | Forward | Quote | Quick Reply | Thanks

     
    morlix | # 14 | 2010-02-12, 18:30 | Report

    Yes after reflashing (warm) it works like a charm.

    You should make a backup of everything before you flash your n900 because afterwards you can restore the backup and nearly everything will be like before.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Corwin | # 15 | 2010-02-13, 16:47 | Report

    Same thing here, solved it by sshing to the N900 and also running update-sudoers. That fixed it for me.
    I also upgraded wizard-mounter, will report it there:
    http://talk.maemo.org/showthread.php?t=44188

    Best regards,
    Corwin

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 2 of 2 | Prev |   1   2 |
vBulletin® Version 3.8.8
Normal Logout