[maemo-users] broken /etc/passwd

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

 



2006/8/28, Jaime Ruiz Frontera <jaime at cauterized.net>:
> On Mon, 28 Aug 2006 18:23:50 +0200
> booiiing <booiiing at gmail.com> wrote:
> > hi everybody,
> > although i tested the setup before, i broke my /etc/passwd by setting
> > the shell for user to /bin/bash. bash-m is installed and works when
> > invoked manually and for another user i created also as login-shell.
> > however, osso-xterm terminates immediately after starting after i set
> > the shell for user to bash.
> > can i fix this somehow without flashing the rootfs? i have load-plugin
> > with run-dialog and a second user with unlimited sudo. all accounts
> > happen to be invalid for ssh-login.
> > i also have a backup of the passwd on the mmc.
> In case you have the memory-cpu-run applet you could from the desktop: sudo cp /media/mmc1/passwd /etc/passwd
"command returned with exit-code 1" - the actual user has no unlimited
sudo, only the additional one has this.

> This can also be done with gpe-filemanager. I don't know if you'll have enough time before it reboots, though.
how can i gain root-privileges in the gpe-filemanager? if i try to
overwrite the existing one, i get an error telling me that i don't
have sufficient privileges.

it won't reboot, the lifeguard-reboot is disabled.

> Anyway, I think maemo's bash is not in /bin/bash but in (i think) /usr/bin/bash or something.
i'm not sure, but it worked with 'su user2'

thanks for your replies, i'll try marius' idea tomorrow.

kind regards,
patric



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

  Powered by Linux