[Freedombox-discuss] Locked out of plinth
On Tue, Mar 22, 2016, at 18:41, Sunil Mohan Adapa wrote:
> On Tuesday 22 March 2016 06:30 PM, znoteer at hailmail.net wrote:
> > Hi,
> >
> > I've locked myself out of plinth. I can still ssh into the box, but I
[snip]
> > Can anyone suggest what file (usr/lib/, or /lib, or something like that)
> > I need to remove to get back into business?
>
[snip]
> However, a less descructive way is to trigger the first boot wizard
> which will let you create another admin account. For that do this:
>
> # echo "delete from plinth_kvstore where key='firstboot_state';" |
> sqlite3 /var/lib/plinth/plinth.sqlite3
>
Hi Sunil,
I get a command not found error
-------------- begin quote -------------
root at freebx:~# echo "DELETE FROM plinth_kvstore WHERE
key='firstboot_state';" |
sqlite3 /var/lib/plinth/plinth.sqlite3
-su: sqlite3: command not found
root at freebx:~# echo "DELETE FROM plinth_kvstore WHERE
key='firstboot_state';" |
sqlite /var/lib/plinth/plinth.sqlite3
-su: sqlite: command not found
root at freebx:~#
--------------- end quote ---------------
neither locate nor whereis show anything from a bin directory. "man -k
sqlite" only shows a library.
Do I need to install something else?
Thanks,
--
znoteer at hailmail.net
--
http://www.fastmail.com - A no graphics, no pop-ups email service
Reply to: