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

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

                                        @lustig29
                                        als Criss... anmelden

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

                                          @lustig29

                                          groups
                                          

                                          anschauen, ob dein user jetzt überall eingetragen wurde.

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

                                            @thomas-braun

                                            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:~$ 
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            463
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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