Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. gelöst: mal wieder sudo....groups????

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    gelöst: mal wieder sudo....groups????

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

      @michihorn

      Warum 'gelöst'? Hast du den 'micha' jetzt in die Gruppen 'sudo' und 'iobroker' gepackt?

      M Thomas Braun 2 Replies Last reply Reply Quote 0
      • M
        michihorn @Thomas Braun last edited by

        @thomas-braun sagte in gelöst: mal wieder sudo....groups????:

        Warum 'gelöst'? Hast du den 'micha' jetzt in die Gruppen 'sudo' und 'iobroker' gepackt?

        was ist denn deine lösung?

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

          @thomas-braun sagte in gelöst: mal wieder sudo....groups????:

          'micha' jetzt in die Gruppen 'sudo' und 'iobroker' gepackt?

          Als root:

          usermod -a -G sudo,iobroker micha
          exit
          

          micha abmelden / oder Neustart, nicht mehr als root anmelden.

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

            @thomas-braun sagte in gelöst: mal wieder sudo....groups????:

            usermod -a -G sudo,iobroker micha
            exit

            Das kommt als Rückmeldung:

            login as: micha
            micha@192.168.178.136's password:
            Linux ME 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86                                                                                                                                                             _64
            
            The programs included with the Debian GNU/Linux system are free software;
            the exact distribution terms for each program are described in the
            individual files in /usr/share/doc/*/copyright.
            
            Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
            permitted by applicable law.
            Last login: Fri Feb 28 10:23:32 2025 from 192.168.178.23
            micha@ME:~$ iob fix
            [sudo] Passwort für micha:
            Sorry, user micha is not allowed to execute '/usr/bin/curl -sLf https://iobroker                                                                                                                                                             .net/fix.sh --output /home/iobroker/.fix.sh' as iobroker on ME.fritz.box.
            micha@ME:~$ su
            Passwort:
            root@ME:/home/micha# usermod -a -G sudo,iobroker micha
            exit
            bash: usermod: Kommando nicht gefunden.
            exit
            micha@ME:~$
            

            MOD-EDIT: Code in code-tags gesetzt!

            Meister Mopper 1 Reply Last reply Reply Quote 0
            • Meister Mopper
              Meister Mopper @michihorn last edited by

              @michihorn

              Hast du vorher einen reboot gefahren?

              M 1 Reply Last reply Reply Quote 0
              • M
                michihorn @Meister Mopper last edited by

                @meister-mopper sagte in gelöst: mal wieder sudo....groups????:

                Hast du vorher einen reboot gefahren?

                Ja mittlerweile mehrfach

                Meister Mopper 1 Reply Last reply Reply Quote 0
                • Meister Mopper
                  Meister Mopper @michihorn last edited by

                  @michihorn

                  Und wie sieht groups jetzt aus?

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    michihorn @Meister Mopper last edited by

                    @meister-mopper micha cdrom floppy audio dip video plugdev users netdev bluetooth lpadmin scanner

                    Meister Mopper 1 Reply Last reply Reply Quote 0
                    • Meister Mopper
                      Meister Mopper @michihorn last edited by

                      @michihorn

                      Da hat der Befehl nicht gegriffen:

                      Als root:

                      usermod -a -G sudo,adm,iobroker micha
                      
                      exit
                      

                      micha abmelden / oder Neustart, nicht mehr als root anmelden.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        michihorn @Meister Mopper last edited by

                        @meister-mopper sagte in gelöst: mal wieder sudo....groups????:

                        usermod -a -G sudo,adm,iobroker micha

                        exit

                        Nein, er meckert ja auch das dasKommando "usermod" nicht bekannt ist:

                        micha@ME:~$ micha cdrom floppy audio dip video plugdev users netdev bluetooth lpadmin scanner
                        ^C
                        micha@ME:~$ su
                        Passwort:
                        root@ME:/home/micha# usermod -a -G sudo,adm,iobroker micha

                        exit
                        bash: usermod: Kommando nicht gefunden.
                        exit
                        micha@ME:~$

                        Meister Mopper 1 Reply Last reply Reply Quote 0
                        • Meister Mopper
                          Meister Mopper @michihorn last edited by

                          @michihorn sagte in gelöst: mal wieder sudo....groups????:

                          bash: usermod: Kommando nicht gefunden.

                          su - eingeben

                          MartinP M 2 Replies Last reply Reply Quote 1
                          • MartinP
                            MartinP @Meister Mopper last edited by

                            @meister-mopper https://www.reddit.com/r/linuxquestions/comments/pcfjo6/bash_usermod_command_not_found_in_latest_debian/

                            1 Reply Last reply Reply Quote 1
                            • M
                              michihorn @Meister Mopper last edited by michihorn

                              @meister-mopper DANKE ...
                              micha@ME:~$ su -
                              Passwort:
                              root@ME:~# usermod -a -G sudo,adm,iobroker micha

                              exit
                              Abgemeldet
                              micha@ME:~$ groups
                              micha cdrom floppy audio dip video plugdev users netdev bluetooth lpadmin scanner
                              micha@ME:~$

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

                                @michihorn

                                Den micha auch abmelden / das System durchstarten.

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate
                                FAQ Cloud / IOT
                                HowTo: Node.js-Update
                                HowTo: Backup/Restore
                                Downloads
                                BLOG

                                818
                                Online

                                31.9k
                                Users

                                80.3k
                                Topics

                                1.3m
                                Posts

                                5
                                19
                                454
                                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