Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Proxmox Benutzer wechseln

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Proxmox Benutzer wechseln

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      TT-Tom @lustig29 last edited by

      @lustig29 hast du dich auch in der Konsole des Container eingeloggt oder in Proxmox direkt ?

      L 1 Reply Last reply Reply Quote 0
      • L
        lustig29 @TT-Tom last edited by

        @tt-tom Im Container.

        T 1 Reply Last reply Reply Quote 0
        • T
          TT-Tom @lustig29 last edited by TT-Tom

          @lustig29

          wenn er iobroker heisst ist das suboptimal, gib mal das ein und suche nach der id 1000:1000

          cat /etc/passwd
          

          Edit kann auch 1001:1000 sein

          L 1 Reply Last reply Reply Quote 0
          • L
            lustig29 @TT-Tom last edited by

            @TT-Tom

            iobroker:x:1000:1000::/home/iobroker:/usr/sbin/nologin
            
            T 1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @lustig29 last edited by

              @lustig29 sagte in Proxmox Benutzer wechseln:

              irgendwo muss der Benutzer ja herkommen.

              ???

              der Benutzer iobroker ist der Systemuser von ioBroker und wird mit der Installation von ioBroker angelegt.

              Dieser user ist aber nicht für dich gedacht.
              Du hast ja bei der Installation des Betriebssystems einen eigenen User angelegt.
              Den musst du nehmen

              1 Reply Last reply Reply Quote 0
              • T
                TT-Tom @lustig29 last edited by

                @lustig29

                einen User mit 1001:1000 hast du nicht?

                L 1 Reply Last reply Reply Quote 0
                • L
                  lustig29 @TT-Tom last edited by

                  @tt-tom Nein, habe ich nicht

                  T 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @lustig29 last edited by

                    @lustig29 sagte in Proxmox Benutzer wechseln:

                    Dort bin ich immer als root eingeloggt.

                    das klingt fast so, als ob du nie einen echten User angelegt hättest

                    1 Reply Last reply Reply Quote 0
                    • T
                      TT-Tom @lustig29 last edited by

                      @lustig29
                      dann lege dir ein Standarduser an

                      adduser name
                      usermod -aG sudo name
                      
                      L 1 Reply Last reply Reply Quote 0
                      • L
                        lustig29 @TT-Tom last edited by

                        @tt-tom Benutzer hat geklappt. Wenn ich jetzt NodeJs updaten will, kommt das.

                        chriss311983@IobrokerHauptinstallation:/root$ iob nodejs-update
                        bash: /home/iobroker/.nodejs-update.sh: Permission denied```
                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @lustig29 last edited by

                          @lustig29 sagte in Proxmox Benutzer wechseln:

                          kommt das.

                          wahrscheinlich alle Rechte durch die root-Nutzung verfummelt.

                          iob stop
                          iob fix
                          iob start
                          

                          dann nochmal versuchen

                          L 1 Reply Last reply Reply Quote 1
                          • L
                            lustig29 @Homoran last edited by

                            @homoran geht immer noch nicht.

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              TT-Tom @lustig29 last edited by TT-Tom

                              @lustig29

                              die Befehle sind aber durchgelaufen? bitte mal alles zeigen.

                              L 1 Reply Last reply Reply Quote 0
                              • L
                                lustig29 @TT-Tom last edited by lustig29

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

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

                                T Thomas Braun 2 Replies Last reply Reply Quote 0
                                • T
                                  TT-Tom @lustig29 last edited by

                                  @lustig29

                                  zeige bitte mal

                                  iob diag
                                  
                                  L 1 Reply Last reply Reply Quote 0
                                  • L
                                    lustig29 @TT-Tom last edited by Homoran

                                    @tt-tom

                                    chriss311983@IobrokerHauptinstallation:/root$ iob diag
                                    bash: /home/iobroker/.diag.sh: Permission denied
                                    
                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      TT-Tom @lustig29 last edited by

                                      @lustig29

                                      warum bist du noch im root Verzeichnis. zeige mal noch mal den User den du angelegt hast mit

                                      cat /etc/passwd
                                      
                                      L 1 Reply Last reply Reply Quote 0
                                      • L
                                        lustig29 @TT-Tom last edited by

                                        @tt-tom ```

                                        chriss311983:x:1001:1001:,,,:/home/chriss311983:/bin/bash
                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          TT-Tom @lustig29 last edited by

                                          @lustig29

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

                                          L 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @lustig29 last edited by

                                            @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 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            508
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            55
                                            2670
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo