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 ```

      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
                      • T
                        TT-Tom @lustig29 last edited by

                        @lustig29

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

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

                          @thomas-braun

                          chriss311983@IobrokerHauptinstallation:/root$ cd  
                          chriss311983@IobrokerHauptinstallation:~$ iob nodejs-update
                          bash: /home/iobroker/.nodejs-update.sh: Permission denied
                          chriss311983@IobrokerHauptinstallation:~$
                          
                          Thomas Braun T 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @lustig29 last edited by

                            @lustig29 sagte in Proxmox Benutzer wechseln:

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

                            sagt?

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

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

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

                                @tt-tom den Befehl habe ich ausgeführt

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

                                  @thomas-braun

                                  ls -lah /home/iobroker/.nodejs-update.sh
                                  ls: cannot access '/home/iobroker/.nodejs-update.sh': Permission denied
                                  
                                  Thomas Braun T 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @lustig29 last edited by

                                    @lustig29

                                    ls -lah /home/
                                    
                                    L 1 Reply Last reply Reply Quote 0
                                    • T
                                      TT-Tom @lustig29 last edited by

                                      @lustig29

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

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

                                        @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 Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @lustig29 last edited by

                                          @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 1 Reply Last reply Reply Quote 0
                                          • L
                                            lustig29 @Thomas Braun last edited by

                                            @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 Braun Homoran 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            810
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            55
                                            2689
                                            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