Created
December 22, 2015 12:59
-
-
Save vanhecke/0d0e7684581d42301025 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /etc/doas.conf | |
# Users | |
permit nopass joris cmd openup | |
permit joris cmd reboot | |
# Daemons - Startup | |
permit nopass root as _teleirc cmd /usr/local/bin/teleirc | |
permit nopass root as joris cmd /usr/local/bin/teleirc | |
# file /root/.teleirc/config.js | |
/root/.teleirc/config.js: ASCII C++ program text | |
# file /home/_teleirc/.teleirc/config.js | |
/home/_teleirc/.teleirc/config.js: ASCII C++ program text | |
# doas -u _teleirc /usr/local/bin/teleirc | |
ERROR while reading config: | |
Error: Cannot find module '/root/.teleirc/config.js' | |
Please make sure it exists and is valid. Run "teleirc --genconfig" to generate a default config. | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment