NEWS
Proxmox Benutzer wechseln
-
@lustig29 sagte in Proxmox Benutzer wechseln:
Ich muss doch den Iobroker stoppen beim Js Update, oder?
Nein, das macht das nodejs-update-Skript selber.
Setzt aber ein ordentlich aufgesetztes System mit ordentlichen usern voraus.
Der user muss auch in der Gruppeiobrokersein, sonst darf der da nix ausführen, was dem iobroker gehört.
Leg den mal so an:sudo usermod -aG adm,dialout,sudo,audio,video,plugdev,users,iobroker chriss311983 exitdanke Thomas, an die Gruppe habe ich jetzt nicht gedacht.
-
danke Thomas, an die Gruppe habe ich jetzt nicht gedacht.
-
@tt-tom Ich bin immer wieder automatisch so eingeloggt.
chriss311983@IobrokerHauptinstallation:/root -
chriss311983@IobrokerHauptinstallation:/root$ cd chriss311983@IobrokerHauptinstallation:~$ iob nodejs-update bash: /home/iobroker/.nodejs-update.sh: Permission denied chriss311983@IobrokerHauptinstallation:~$ -
chriss311983@IobrokerHauptinstallation:/root$ cd chriss311983@IobrokerHauptinstallation:~$ iob nodejs-update bash: /home/iobroker/.nodejs-update.sh: Permission denied chriss311983@IobrokerHauptinstallation:~$ -
chriss311983@IobrokerHauptinstallation:/root$ cd chriss311983@IobrokerHauptinstallation:~$ iob nodejs-update bash: /home/iobroker/.nodejs-update.sh: Permission denied chriss311983@IobrokerHauptinstallation:~$ -
ls -lah /home/iobroker/.nodejs-update.sh ls: cannot access '/home/iobroker/.nodejs-update.sh': Permission denied -
ls -lah /home/iobroker/.nodejs-update.sh ls: cannot access '/home/iobroker/.nodejs-update.sh': Permission deniedls -lah /home/ -
ls -lah /home/iobroker/.nodejs-update.sh ls: cannot access '/home/iobroker/.nodejs-update.sh': Permission denied -
ls -lah /home/ls -lah /home/ total 16K drwxr-xr-x 4 root root 4.0K Jul 18 17:33 . drwxr-xr-x 18 root root 4.0K Jul 17 20:20 .. drwxr-x--- 3 chriss311983 chriss311983 4.0K Jul 18 17:43 chriss311983 drwxr-x--- 4 iobroker iobroker 4.0K Jul 16 16:59 iobroker -
ls -lah /home/ total 16K drwxr-xr-x 4 root root 4.0K Jul 18 17:33 . drwxr-xr-x 18 root root 4.0K Jul 17 20:20 .. drwxr-x--- 3 chriss311983 chriss311983 4.0K Jul 18 17:43 chriss311983 drwxr-x--- 4 iobroker iobroker 4.0K Jul 16 16:59 iobrokergroupssagt? Und bitte vollständig alles aus dem Terminal kopieren, inkl. login prompt.
Damit man sieht wo du da als welcher User gerade herumstehst. -
groupssagt? Und bitte vollständig alles aus dem Terminal kopieren, inkl. login prompt.
Damit man sieht wo du da als welcher User gerade herumstehst.chriss311983@IobrokerHauptinstallation:/root$ sudo usermod -aG adm,dialout,sudo,audio,video,plugdev,users,iobroker chriss311983 exitchriss311983@IobrokerHauptinstallation:/root$ iob start chriss311983@IobrokerHauptinstallation:/root$ iob nodejs-update bash: /home/iobroker/.nodejs-update.sh: Permission denied chriss311983@IobrokerHauptinstallation:/root$ cd chriss311983@IobrokerHauptinstallation:~$ iob nodejs-update bash: /home/iobroker/.nodejs-update.sh: Permission denied chriss311983@IobrokerHauptinstallation:~$ ls -lah /home/iobroker/.nodejs-update.sh ls: cannot access '/home/iobroker/.nodejs-update.sh': Permission denied chriss311983@IobrokerHauptinstallation:~$ ls -lah /home/ total 16K drwxr-xr-x 4 root root 4.0K Jul 18 17:33 . drwxr-xr-x 18 root root 4.0K Jul 17 20:20 .. drwxr-x--- 3 chriss311983 chriss311983 4.0K Jul 18 17:43 chriss311983 drwxr-x--- 4 iobroker iobroker 4.0K Jul 16 16:59 iobroker chriss311983@IobrokerHauptinstallation:~$ groups chriss311983 sudo chriss311983@IobrokerHauptinstallation:~$ -
chriss311983@IobrokerHauptinstallation:/root$ sudo usermod -aG adm,dialout,sudo,audio,video,plugdev,users,iobroker chriss311983 exitchriss311983@IobrokerHauptinstallation:/root$ iob start chriss311983@IobrokerHauptinstallation:/root$ iob nodejs-update bash: /home/iobroker/.nodejs-update.sh: Permission denied chriss311983@IobrokerHauptinstallation:/root$ cd chriss311983@IobrokerHauptinstallation:~$ iob nodejs-update bash: /home/iobroker/.nodejs-update.sh: Permission denied chriss311983@IobrokerHauptinstallation:~$ ls -lah /home/iobroker/.nodejs-update.sh ls: cannot access '/home/iobroker/.nodejs-update.sh': Permission denied chriss311983@IobrokerHauptinstallation:~$ ls -lah /home/ total 16K drwxr-xr-x 4 root root 4.0K Jul 18 17:33 . drwxr-xr-x 18 root root 4.0K Jul 17 20:20 .. drwxr-x--- 3 chriss311983 chriss311983 4.0K Jul 18 17:43 chriss311983 drwxr-x--- 4 iobroker iobroker 4.0K Jul 16 16:59 iobroker chriss311983@IobrokerHauptinstallation:~$ groups chriss311983 sudo chriss311983@IobrokerHauptinstallation:~$Da fehlt das logout des users...
exitoder besser gleich den ganzen Container neustarten.
Deswegen schrieb ich auch:Leg den mal so an:
sudo usermod -aG adm,dialout,sudo,audio,video,plugdev,users,iobroker chriss311983
exit -
Da fehlt das logout des users...
exitoder besser gleich den ganzen Container neustarten.
Deswegen schrieb ich auch:Leg den mal so an:
sudo usermod -aG adm,dialout,sudo,audio,video,plugdev,users,iobroker chriss311983
exit@thomas-braun Container hab ich jetzt neu gestartet. Was soll ich jetzt machen?
Ubuntu 22.04.4 LTS IobrokerHauptinstallation tty1 IobrokerHauptinstallation login: chriss311983 Password: Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 6.5.13-3-pve x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. chriss311983@IobrokerHauptinstallation:~$ -
@thomas-braun Container hab ich jetzt neu gestartet. Was soll ich jetzt machen?
Ubuntu 22.04.4 LTS IobrokerHauptinstallation tty1 IobrokerHauptinstallation login: chriss311983 Password: Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 6.5.13-3-pve x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. chriss311983@IobrokerHauptinstallation:~$ -
@thomas-braun Container hab ich jetzt neu gestartet. Was soll ich jetzt machen?
Ubuntu 22.04.4 LTS IobrokerHauptinstallation tty1 IobrokerHauptinstallation login: chriss311983 Password: Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 6.5.13-3-pve x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. chriss311983@IobrokerHauptinstallation:~$ -
Ubuntu 22.04.4 LTS IobrokerHauptinstallation tty1 IobrokerHauptinstallation login: chriss311983 Password: Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 6.5.13-3-pve x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. chriss311983@IobrokerHauptinstallation:~$ groups chriss311983 adm dialout sudo audio video plugdev users iobroker chriss311983@IobrokerHauptinstallation:~$ -
chriss311983@IobrokerHauptinstallation:/root$ sudo usermod -aG adm,dialout,sudo,audio,video,plugdev,users,iobroker chriss311983 exitchriss311983@IobrokerHauptinstallation:/root$ iob start chriss311983@IobrokerHauptinstallation:/root$ iob nodejs-update bash: /home/iobroker/.nodejs-update.sh: Permission denied chriss311983@IobrokerHauptinstallation:/root$ cd chriss311983@IobrokerHauptinstallation:~$ iob nodejs-update bash: /home/iobroker/.nodejs-update.sh: Permission denied chriss311983@IobrokerHauptinstallation:~$ ls -lah /home/iobroker/.nodejs-update.sh ls: cannot access '/home/iobroker/.nodejs-update.sh': Permission denied chriss311983@IobrokerHauptinstallation:~$ ls -lah /home/ total 16K drwxr-xr-x 4 root root 4.0K Jul 18 17:33 . drwxr-xr-x 18 root root 4.0K Jul 17 20:20 .. drwxr-x--- 3 chriss311983 chriss311983 4.0K Jul 18 17:43 chriss311983 drwxr-x--- 4 iobroker iobroker 4.0K Jul 16 16:59 iobroker chriss311983@IobrokerHauptinstallation:~$ groups chriss311983 sudo chriss311983@IobrokerHauptinstallation:~$bisher jedenfalks nicht.
@lustig29 sagte in Proxmox Benutzer wechseln:chriss311983@IobrokerHauptinstallation:~$ groups
mal sehen ob der reboot das gefixt hat