Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Proxmox
    5. Vcontrold LXC container Berechtigung

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Vcontrold LXC container Berechtigung

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Manuel_K last edited by

      @manuel_k

      Wem gehört denn das?

      ls -la /tmp/vcontrold.log
      
      M 1 Reply Last reply Reply Quote 0
      • M
        Manuel_K @Thomas Braun last edited by Manuel_K

        @thomas-braun

        root@iobroker:/tmp# ls -la
        total 40
        drwxrwxrwt  9 root   root    4096 Feb 26 23:20 .
        drwxr-xr-x 18 root   root    4096 Feb 26 23:18 ..
        drwxrwxrwt  2 root   root    4096 Feb 26 23:18 .ICE-unix
        drwxrwxrwt  2 root   root    4096 Feb 26 23:18 .Test-unix
        drwxrwxrwt  2 root   root    4096 Feb 26 23:18 .X11-unix
        drwxrwxrwt  2 root   root    4096 Feb 26 23:18 .XIM-unix
        drwxrwxrwt  2 root   root    4096 Feb 26 23:18 .font-unix
        drwx------  3 root   root    4096 Feb 26 23:18 systemd-private-aad5e2b4662b4cd4b59a95a7a8d33f17-systemd-logind.service-pYRUAR
        drwx------  3 root   root    4096 Feb 26 23:18 systemd-private-aad5e2b4662b4cd4b59a95a7a8d33f17-systemd-resolved.service-N21xcw
        -rw-rw-r--  1 nobody dialout  105 Feb 26 23:20 vcontrold.log
        root@iobroker:/tmp# 
        

        Wohl nicht die Berechtigung. Wie bekomme ich die hin. Auch nach einem reboot ?

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

          @manuel_k

          Die User gehören in die Gruppe 'dialout'
          Und leg dir einen User an, der per sudo root Rechte erlangen kann und log dich nicht als root ein.

          M 1 Reply Last reply Reply Quote 0
          • M
            Manuel_K @Thomas Braun last edited by

            @thomas-braun
            ich bin leider ein Linux neuling.

            Benutzer habe ich angelegt. mit Passwort.

            Der Benutzer gehört auch der gruppe dialout an.
            Aber immer noch der selbe fehler.

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

              @manuel_k

              groups
              

              und der iobroker soll das auch nutzen? Dann gehört der auch in dialout rein.

              sudo -u iobroker groups
              

              Und einen Server betreibt man ohne Desktop. Schalt den Mist aus.

              M 1 Reply Last reply Reply Quote 0
              • M
                Manuel_K @Thomas Braun last edited by

                @thomas-braun
                Sry ich komme da nicht weiter.

                Das vcontrold soll nur der "user" mit sudo starten können.

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

                  @manuel_k sagte in Vcontrold LXC container Berechtigung:

                  Sry ich komme da nicht weiter.

                  Konkret?

                  Das vcontrold soll nur der "user" mit sudo starten können.

                  Noch konkreter? Welcher user, mit welchen Gruppenzugehörigkeiten?
                  Befehle dazu siehe oben.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Manuel_K @Thomas Braun last edited by

                    @thomas-braun
                    Also nochmal 🙂

                    Ich habe ein Benutzer angelegt. Wenn ich nun vcontrold -n eingebe kommt dieser Fehler.

                    user@iobroker:~$ sudo vcontrold -n
                    [1081] Mon Feb 28 09:44:51 2022 : started vcontrold version 0.98.10-24-ge424ec4
                    Could not open /tmp/vcontrold.log: Permission denieduser@iobroker:~$ 
                    

                    Der User ist schon in der Gruppe dialout
                    Wie bekomme ich eine dauerhafte Lösung her, dass ich diese Rechte habe.

                    Wenn ich

                    sudo chmod 777 -c -R /tmp
                    

                    eingebe. Funktioniert es bis zum nächsten reboot

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

                      @manuel_k

                      Die Ausgaben zur jeweiligen Gruppenzugehörigkeit sind geheim?
                      Da kann ich dann leider nicht helfen.

                      Und nein, chmod 777 rekursiv über das Verzeichnis zu kübeln ist keine Lösung.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Manuel_K @Thomas Braun last edited by

                        @thomas-braun
                        was meinst du mit Gruppenzugehörigkeiten sind geheim ?

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

                          @manuel_k

                          groups
                          

                          und der iobroker soll das auch nutzen? Dann gehört der auch in dialout rein.

                          sudo -u iobroker groups
                          
                          M 1 Reply Last reply Reply Quote 0
                          • M
                            Manuel_K @Thomas Braun last edited by

                            @thomas-braun

                            Hallo nochmal,

                            wollte nur bescheid geben, dass vcontrold nun funktioniert. Nachdem ich das Systemd Startscript zum laufen gebracht habe hat es dann funktioniert.

                            Ich habe nun nur noch ein Problem, dass nach einer ca halben Stunde die USB Verbindung abbricht.
                            Vcontrol kann dann warum auch immer nicht mehr auf den Port zugreifen.
                            Denke das wird ein Proxmox Problem sein.
                            Ich werde dazu ein neues Topic öffnen.

                            Danke

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            990
                            Online

                            31.7k
                            Users

                            79.7k
                            Topics

                            1.3m
                            Posts

                            2
                            13
                            610
                            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