Ich kann mich per SSH mit openhabian:openhabian verbinden und komme auf die Shell.
Wenn ich allerdings sudo nutzen möchte, dann werde ich nach dem Passwort gefragt und bekomme dann die Fehlermeldung, dass der User Openhabian nicht in der sudo liste geführt ist.
Ohne sudo komme ich aber nicht in die config und kann viele Installationen nicht ausführen.
Wie kann ich das korrigieren?
Anbei noch ein Log von der Shell:
Code: Alles auswählen
Linux openHABianDevice 5.4.79-v8+ #1373 SMP PREEMPT Mon Nov 23 13:32:41 GMT 2020 aarch64
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: Thu Jan 14 23:07:28 2021 from 192.168.178.95
SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
###############################################################################
############### openHABianDevice ############################################
###############################################################################
## Ip = 192.168.178.106
## Release = Debian GNU/Linux 10 (buster)
## Kernel = Linux 5.4.79-v8+
## Platform = Started Check for Raspberry Pi EEPROM updates.
## Uptime = 1 day(s). 2:22:30
## CPU Usage = 0.5% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 0.02, 5m: 0.04, 15m: 0.03
## Memory = Free: 0.26GB (14%), Used: 1.58GB (86%), Total: 1.85GB
## Swap = Free: 2.58GB (100%), Used: 0.00GB (0%), Total: 2.58GB
## Root = Free: 51.12GB (91%), Used: 4.74GB (9%), Total: 58.27GB
## Updates = 10 apt updates available.
## Sessions = 2 session(s)
## Processes = 128 running processes of 32768 maximum processes
###############################################################################
_ _ _ ____ _
___ ___ ___ ___ | | | | / \ | __ ) (_) ____ ___
/ _ \ / _ \ / _ \ / _ \ | |_| | / _ \ | _ \ | | / _ \ / _ \
| (_) | (_) | __/| | | || _ | / ___ \ | |_) )| || (_) || | | |
\___/| __/ \___/|_| |_||_| |_|/_/ \_\|____/ |_| \__|_||_| | |
|_| 3.0.0 - 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
The openHAB dashboard can be reached at http://openHABianDevice:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'
[23:12:27] openhabian@openHABianDevice:~$
[23:16:10] openhabian@openHABianDevice:~$
[23:16:10] openhabian@openHABianDevice:~$ sudo -s
[sudo] password for openhabian:
Sorry, try again.
[sudo] password for openhabian:
openhabian is not in the sudoers file. This incident will be reported.