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.
    • 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
                                • BananaJoe
                                  BananaJoe Most Active @lustig29 last edited by 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 Braun 2 Replies Last reply Reply Quote 0
                                  • L
                                    lustig29 @TT-Tom last edited by

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

                                    chriss311983@IobrokerHauptinstallation:/root
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @BananaJoe last edited by

                                      @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
                                      
                                      
                                      1 Reply Last reply Reply Quote 1
                                      • T
                                        TT-Tom @Thomas Braun last edited by

                                        @thomas-braun

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

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

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

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

                                            @lustig29

                                            Dann hat der user kein /home bekommen.

                                            cd
                                            

                                            macht was?

                                            L 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            504
                                            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