[maemo-users] Permissions on /etc/sudoers messed up - reflash?

From: Tuomo Tanskanen tumi at tumi.fi
Date: Sat Jan 22 09:16:12 EET 2011

rootsh package does not modify root password, but openssh does.

Cheers, Tumi

----- Original message -----
> On Fri, Jan 21, 2011 at 5:29 PM, Philipp Haselwarter
> <philipp.haselwarter at gmx.de> 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?
> The root password should be the one you created when you installed the
> rootsh package. If you forgot it, then...
> I have not tried it, but you might be able to use a rescue initrd like
> the one described here to gain access to your rootfs:
> http://wiki.meego.com/ARM/N900/Using_Rescue_Initrd
> There are also a few things that could have helped, had you installed
> them ahead of time, like backupmenu, or if you have NITdroid or MeeGo
> in a dual-boot environment you might be able to use them to edit your
> file permissions.
> Good luck!
> _______________________________________________
> maemo-users mailing list
> maemo-users at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users

More information about the maemo-users mailing list