Re: Permissions on /etc/sudoers messed up - reflash?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 22 Jan 2011, Philipp Haselwarter wrote:

I chmod 0640'ed /etc/sudoers on my N900 and closed the terminal -.-
sudo gainroot/chmod/... fails complaining about the permissions, the gui
package manager does so silently.
Can't mount the filesystem root offline on another device to chmod 0440
back (?), can't login as root locally, ssh to localhost seems to work but I
don't have the slightest idea about the root password.

Any way to avoid a reflash?

You can boot another system. For example Meego:

1. Download any u-boot image (for example the one from here:
   http://al.robotfuzz.com/~al/maemo/u-boot/u-boot.bin ) and flash it
   (as a kernel):

flasher-3.5 -f -k u-boot.bin


2. Prepare a uSD card for meego according to instructions here:
   http://wiki.meego.com/ARM/N900/Install/MMC

3. Boot into meego, mount the N900 root filesystem (ubifs on mtd5), and
   fix the problem

4. Reflash kernel by downloading the firmware image and using the
   command

flasher-3.5 -f -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin --flash-only=kernel



--
Matan Ziv-Av.                         matan@xxxxxxxxxxx


_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux