Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. sudo mit Blockly - Berechtigungsproblem

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    sudo mit Blockly - Berechtigungsproblem

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      root_ last edited by root_

      Re: [gelöst] Befehl als root ausführen oder Rechte ändern?

      Ich möchte 2 sudo Befehle über exec ausführen.

      rmmod btusb
      modprobe btusb
      

      Ich bekomme es aber nicht hin dass, das Passwort nicht abgefragt wird. Habe schon folgendes in der /etc/sudoers.d/iobroker geändert:

      iobroker ALL=(ALL) NOPASSWD: /sbin/rmmod btusb
      iobroker ALL=(ALL) NOPASSWD: /sbin/modprobe btusb
      

      Ich bekomme diesen Fehler wenn den Befehl als User iobroker ausführe:

      sudo -u iobroker rmmod btusb
      rmmod: ERROR: ../libkmod/libkmod-module.c:799 kmod_module_remove_module() could not remove 'btusb': Operation not permitted
      rmmod: ERROR: could not remove module btusb: Operation not permitted
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Support us

      ioBroker
      Community Adapters
      Donate

      856
      Online

      32.0k
      Users

      80.5k
      Topics

      1.3m
      Posts

      1
      1
      160
      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