MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. NorthernMan54
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    N
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-HomeKit | Control your MagicMirror with Apple HomeKit

      @Baassievalk
      After much googling, the answer is here:

      https://stackoverflow.com/questions/21659637/how-to-fix-sudo-no-tty-present-and-no-askpass-program-specified-error

      and in particular this comment

      username ALL = NOPASSWD: /fullpath/to/command, /fullpath/to/othercommand

      In my setup I created a file called /etc/sudoers.d/010_cmdswitch2
      And the file contains

      homebrid ALL = NOPASSWD: /bin/chvt

      chvt is the command I need to run, and homebrid is the account I use to run my homebridge with

      posted in System
      N
      NorthernMan54
    • 1 / 1