Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Hardware
  4. Proxmox Benutzer wechseln

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.5k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.7k

Proxmox Benutzer wechseln

Geplant Angeheftet Gesperrt Verschoben Hardware
55 Beiträge 5 Kommentatoren 5.4k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • L lustig29

    @tt-tom Ja, nur bei iob nodejs-update... Bekomme ich wieder den Fehler.

    Ich muss doch den Iobroker stoppen beim Js Update, oder?

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von
    #24

    @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 Gruppe iobroker sein, 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
    exit
    

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    T 1 Antwort Letzte Antwort
    0
    • L lustig29

      Ich möchte gerne eine andere Version Roborock Adapter installieren. Diese benötigt aber NodeJs 20. Ich habe meinen Iobroker auf einem Proxmox laufen. Dort bin ich immer als root eingeloggt. So kann ich aber Nodejs leider nicht updaten.

      This script must not be run as root! 
      Please use your standard user!
      

      Wie kann ich mich jetzt mit einem anderen Benutzer anmelden?

      root@IobrokerHauptinstallation:~# su iobroker
      This account is currently not available.```
      BananaJoeB Offline
      BananaJoeB Offline
      BananaJoe
      Most Active
      schrieb am zuletzt editiert von BananaJoe
      #25

      @lustig29 sagte in Proxmox Benutzer wechseln:

      Wie kann ich mich jetzt mit einem anderen Benutzer anmelden?

      Wenn es der iobrocker sein soll (den nutze ich auch zumeist):

      sudo -u iobroker /usr/bin/bash
      

      wechselt zum Benutzer ioBroker. Da manche Skripte aber wiederum ein sudo fordern müsstest du den aber in die Liste der sudoers aufnehmen und ein Kennwort vergeben.

      Aber ihr habt ja schon einen anderen Weg gefunden.

      ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 9 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV 750W kaskadiert || Creality CR-10 SE 3D-Drucker

      Thomas BraunT 2 Antworten Letzte Antwort
      0
      • T TT-Tom

        @lustig29

        log dich bitte nochmal komplett aus und dann als chriss311983 wieder ein

        L Offline
        L Offline
        lustig29
        schrieb am zuletzt editiert von
        #26

        @tt-tom Ich bin immer wieder automatisch so eingeloggt.

        chriss311983@IobrokerHauptinstallation:/root
        
        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • BananaJoeB BananaJoe

          @lustig29 sagte in Proxmox Benutzer wechseln:

          Wie kann ich mich jetzt mit einem anderen Benutzer anmelden?

          Wenn es der iobrocker sein soll (den nutze ich auch zumeist):

          sudo -u iobroker /usr/bin/bash
          

          wechselt zum Benutzer ioBroker. Da manche Skripte aber wiederum ein sudo fordern müsstest du den aber in die Liste der sudoers aufnehmen und ein Kennwort vergeben.

          Aber ihr habt ja schon einen anderen Weg gefunden.

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #27

          @bananajoe sagte in Proxmox Benutzer wechseln:

          Wenn es der iobrocker sein soll (den nutze ich auch zumeist):

          Bitte nicht...

          Richtigerweise bekommt der nämlich eh keine login shell:

          echad@chet:~ $ grep iobroker /etc/passwd
          iobroker:x:1001:1001::/home/iobroker:/usr/sbin/nologin
          
          

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          1 Antwort Letzte Antwort
          1
          • Thomas BraunT Thomas Braun

            @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 Gruppe iobroker sein, 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
            exit
            
            T Offline
            T Offline
            TT-Tom
            schrieb am zuletzt editiert von
            #28

            @thomas-braun

            danke Thomas, an die Gruppe habe ich jetzt nicht gedacht.

            Gruß Tom
            https://github.com/tt-tom17
            Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

            NSPanel Script Wiki
            https://github.com/joBr99/nspanel-lovelace-ui/wiki

            NSPanel Adapter Wiki
            https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

            L 1 Antwort Letzte Antwort
            0
            • T TT-Tom

              @thomas-braun

              danke Thomas, an die Gruppe habe ich jetzt nicht gedacht.

              L Offline
              L Offline
              lustig29
              schrieb am zuletzt editiert von
              #29

              @tt-tom Aber ich bin ja immer noch als root eingeloggt

              T 1 Antwort Letzte Antwort
              0
              • L lustig29

                @tt-tom Ich bin immer wieder automatisch so eingeloggt.

                chriss311983@IobrokerHauptinstallation:/root
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #30

                @lustig29

                Dann hat der user kein /home bekommen.

                cd
                

                macht was?

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                L 1 Antwort Letzte Antwort
                0
                • L lustig29

                  @tt-tom Aber ich bin ja immer noch als root eingeloggt

                  T Offline
                  T Offline
                  TT-Tom
                  schrieb am zuletzt editiert von
                  #31

                  @lustig29

                  mit dem $ am Ende bist du User mit # bist du root

                  Gruß Tom
                  https://github.com/tt-tom17
                  Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

                  NSPanel Script Wiki
                  https://github.com/joBr99/nspanel-lovelace-ui/wiki

                  NSPanel Adapter Wiki
                  https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

                  1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @lustig29

                    Dann hat der user kein /home bekommen.

                    cd
                    

                    macht was?

                    L Offline
                    L Offline
                    lustig29
                    schrieb am zuletzt editiert von Homoran
                    #32

                    @thomas-braun

                    chriss311983@IobrokerHauptinstallation:/root$ cd  
                    chriss311983@IobrokerHauptinstallation:~$ iob nodejs-update
                    bash: /home/iobroker/.nodejs-update.sh: Permission denied
                    chriss311983@IobrokerHauptinstallation:~$
                    
                    Thomas BraunT T 2 Antworten Letzte Antwort
                    0
                    • L lustig29

                      @thomas-braun

                      chriss311983@IobrokerHauptinstallation:/root$ cd  
                      chriss311983@IobrokerHauptinstallation:~$ iob nodejs-update
                      bash: /home/iobroker/.nodejs-update.sh: Permission denied
                      chriss311983@IobrokerHauptinstallation:~$
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #33

                      @lustig29 sagte in Proxmox Benutzer wechseln:

                      groups
                      ls -lah /home/iobroker/.nodejs-update.sh
                      

                      sagt?

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      L 1 Antwort Letzte Antwort
                      0
                      • L lustig29

                        @thomas-braun

                        chriss311983@IobrokerHauptinstallation:/root$ cd  
                        chriss311983@IobrokerHauptinstallation:~$ iob nodejs-update
                        bash: /home/iobroker/.nodejs-update.sh: Permission denied
                        chriss311983@IobrokerHauptinstallation:~$
                        
                        T Offline
                        T Offline
                        TT-Tom
                        schrieb am zuletzt editiert von
                        #34

                        @lustig29 du musst die Gruppe iobroker noch hinzufügen. Hat Thomas weiter oben dir gezeigt

                        Gruß Tom
                        https://github.com/tt-tom17
                        Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

                        NSPanel Script Wiki
                        https://github.com/joBr99/nspanel-lovelace-ui/wiki

                        NSPanel Adapter Wiki
                        https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

                        L 1 Antwort Letzte Antwort
                        0
                        • T TT-Tom

                          @lustig29 du musst die Gruppe iobroker noch hinzufügen. Hat Thomas weiter oben dir gezeigt

                          L Offline
                          L Offline
                          lustig29
                          schrieb am zuletzt editiert von
                          #35

                          @tt-tom den Befehl habe ich ausgeführt

                          1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @lustig29 sagte in Proxmox Benutzer wechseln:

                            groups
                            ls -lah /home/iobroker/.nodejs-update.sh
                            

                            sagt?

                            L Offline
                            L Offline
                            lustig29
                            schrieb am zuletzt editiert von Homoran
                            #36

                            @thomas-braun

                            ls -lah /home/iobroker/.nodejs-update.sh
                            ls: cannot access '/home/iobroker/.nodejs-update.sh': Permission denied
                            
                            Thomas BraunT T 2 Antworten Letzte Antwort
                            0
                            • L lustig29

                              @thomas-braun

                              ls -lah /home/iobroker/.nodejs-update.sh
                              ls: cannot access '/home/iobroker/.nodejs-update.sh': Permission denied
                              
                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #37

                              @lustig29

                              ls -lah /home/
                              

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              L 1 Antwort Letzte Antwort
                              0
                              • L lustig29

                                @thomas-braun

                                ls -lah /home/iobroker/.nodejs-update.sh
                                ls: cannot access '/home/iobroker/.nodejs-update.sh': Permission denied
                                
                                T Offline
                                T Offline
                                TT-Tom
                                schrieb am zuletzt editiert von
                                #38

                                @lustig29

                                die Codetags immer in einer neuen Zeile anfangen und bitte alles zeigen Eingabe und Ausgabe

                                Gruß Tom
                                https://github.com/tt-tom17
                                Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

                                NSPanel Script Wiki
                                https://github.com/joBr99/nspanel-lovelace-ui/wiki

                                NSPanel Adapter Wiki
                                https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

                                1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @lustig29

                                  ls -lah /home/
                                  
                                  L Offline
                                  L Offline
                                  lustig29
                                  schrieb am zuletzt editiert von
                                  #39

                                  @thomas-braun

                                  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
                                  
                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • L lustig29

                                    @thomas-braun

                                    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
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #40

                                    @lustig29

                                    groups
                                    

                                    sagt? Und bitte vollständig alles aus dem Terminal kopieren, inkl. login prompt.
                                    Damit man sieht wo du da als welcher User gerade herumstehst.

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    L 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @lustig29

                                      groups
                                      

                                      sagt? Und bitte vollständig alles aus dem Terminal kopieren, inkl. login prompt.
                                      Damit man sieht wo du da als welcher User gerade herumstehst.

                                      L Offline
                                      L Offline
                                      lustig29
                                      schrieb am zuletzt editiert von
                                      #41

                                      @thomas-braun

                                      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:~$ 
                                      
                                      Thomas BraunT HomoranH 2 Antworten Letzte Antwort
                                      0
                                      • L lustig29

                                        @thomas-braun

                                        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:~$ 
                                        
                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von Thomas Braun
                                        #42

                                        @lustig29

                                        Da fehlt das logout des users...

                                        exit
                                        

                                        oder 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

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        L 1 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @lustig29

                                          Da fehlt das logout des users...

                                          exit
                                          

                                          oder 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

                                          L Offline
                                          L Offline
                                          lustig29
                                          schrieb am zuletzt editiert von lustig29
                                          #43

                                          @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:~$ 
                                          
                                          T Thomas BraunT 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          833

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe