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 @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
                  • Homoran
                    Homoran Global Moderator Administrators @lustig29 last edited by

                    bisher jedenfalks nicht.
                    @lustig29 sagte in Proxmox Benutzer wechseln:

                    chriss311983@IobrokerHauptinstallation:~$ groups

                    mal sehen ob der reboot das gefixt hat

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

                      @lustig29

                      Müsste jetzt funktionieren...

                      iob nodejs-update 20
                      
                      L 1 Reply Last reply Reply Quote 0
                      • L
                        lustig29 @Thomas Braun last edited by

                        @thomas-braun Es geht. Vielen Dank für eure Hilfe

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

                          @lustig29
                          Dann ab jetzt nie mehr als root oder iobroker durch den Container rutschen.

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

                            @thomas-braun Versprochen😂

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

                              @lustig29

                              wichtig immer erst ein Standarduser anlegen bevor du im Container etwas installierst.

                              Homoran 1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @TT-Tom last edited by

                                @tt-tom sagte in Proxmox Benutzer wechseln:

                                @lustig29

                                wichtig immer erst ein Standarduser anlegen bevor du im Container etwas installierst.

                                gilt auch für VM und standalone!!

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

                                  @bananajoe sagte in Proxmox Benutzer wechseln:

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

                                  Die Gruppe 'sudo' ist für den iobroker aber mal sowas von Tabu...
                                  Der soll bewusst nicht alles im System machen können.

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

                                    @thomas-braun sagte in Proxmox Benutzer wechseln:

                                    Die Gruppe 'sudo' ist für den iobroker aber mal sowas von Tabu...
                                    Der soll bewusst nicht alles im System machen können.

                                    außer für einzelne Befehle die man z.B. über JavaScript ausführt und die warum auch immer sudo-Rechte erfordern. Aber dann halt nur für diese einzelnen Befehle

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

                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate

                                    687
                                    Online

                                    31.7k
                                    Users

                                    79.8k
                                    Topics

                                    1.3m
                                    Posts

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