Good evening everyone,
I open this post because I am in a big bind. I have lost all the permissions of my user and every time I connect to openhabian I can not do anything, it does not even let me access “openhabian-config”. Neither can I access the openhab dashboard by ip. If I try to change into superuser it tells me that the password is incorrect. Before opening the post I have been looking to find a solution but I have not been able to find it, in fact, I do not know if it will be possible to solve it. If anyone knows how to fix it and was kind enough to comment, I would appreciate it a lot. Thank you so much for everything.
- Platform information:
Hardware: Raspberry PI 3B
OS: openHABian v1.4.1
Java Runtime Environment: openjdk version “1.8.0_152”
OpenJDK Runtime Environment (Zulu Embedded 8.25.0.76-linux-aarch32hf) (build 1.8 .0_152-b76)
OpenJDK Client VM (Zulu Embedded 8.25.0.76-linux-aarch32hf) (build 25.152-b76, m ixed mode, Evaluation)
openHAB version: openHAB 2
- Issue of the topic:
I have lost my user’s permissions in openhabian. - If logs where generated please post these here using code fences:
login as: openhabian
openhabian@192.168.1.50's password:
Linux openHABianPi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue May 14 01:05:31 2019 from 192.168.1.51
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so .preload cannot be preloaded (cannot open shared object file): ignored.
-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
-bash: id: command not found
-bash: [: : integer expression expected
-bash: /usr/share/bash-completion/bash_completion: Permission denied
-bash: /usr/share/bash-completion/bash_completion: Permission denied
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so .preload cannot be preloaded (cannot open shared object file): ignored.
-bash: gettext.sh: No such file or directory
-bash: gettext.sh: No such file or directory
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so .preload cannot be preloaded (cannot open shared object file): ignored.
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so .preload cannot be preloaded (cannot open shared object file): ignored.
/opt/FireMotD/FireMotD: line 30: basename: command not found
/opt/FireMotD/FireMotD: line 31: head: command not found
/opt/FireMotD/FireMotD: line 31: awk: command not found
/opt/FireMotD/FireMotD: line 31: tr: command not found
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so .preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so .preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so .preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so .preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so .preload cannot be preloaded (cannot open shared object file): ignored.
2019-05-13 23:31:03,919: : Info: No FireMotD ExportFile detected. Please generat e with "sudo .\/FireMotD -S"
-bash: dpkg-query: command not found
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so .preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so .preload cannot be preloaded (cannot open shared object file): ignored.
Welcome to __ _____ ____ _
____ ____ ___ ____ / / / / | / __ )(_)___ _____
/ __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __ / / __ `/ __ \
/ /_/ / /_/ / __/ / / / __ / ___ |/ /_/ / / /_/ / / / /
\____/ .___/\___/_/ /_/_/ /_/_/ |_/_____/_/\__,_/_/ /_/
/_/
openHAB (Release Build)
Looking for a place to get started? Check out 'sudo openhabian-config' and the
documentation at https://www.openhab.org/docs/installation/openhabian.html
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so .preload cannot be preloaded (cannot open shared object file): ignored.
The openHAB dashboard can be reached at http://openHABianPi:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'
openhabian@openHABianPi:~$
If I type one command like “sudo openhabian-config” I get this:
´´´
openhabian@openHABianPi:~$ sudo openhabian-config
-bash: sudo: command not found
openhabian@openHABianPi:~$