[maemo-users] Permissions on /etc/sudoers messed up - reflash?
From: Matan Ziv-Av matan at svgalib.orgDate: Sat Jan 22 01:49:14 EET 2011
- Previous message: Permissions on /etc/sudoers messed up - reflash?
- Next message: Permissions on /etc/sudoers messed up - reflash?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 at svgalib.org
- Previous message: Permissions on /etc/sudoers messed up - reflash?
- Next message: Permissions on /etc/sudoers messed up - reflash?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]