diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/mactelnetd.init | 21 | ||||
-rw-r--r-- | config/mactelnetd.users | 9 |
2 files changed, 29 insertions, 1 deletions
diff --git a/config/mactelnetd.init b/config/mactelnetd.init new file mode 100644 index 0000000..b7ddddf --- /dev/null +++ b/config/mactelnetd.init @@ -0,0 +1,21 @@ +# mactelnetd - MAC-Telnet server +# +# The MAC-Telnet server provides telnet access via MAC addresses. +# +# Ubuntu upstart config: + +description "MAC-Telnet server" + +start on filesystem +stop on runlevel [!2345] + +respawn +respawn limit 10 5 +umask 022 + +pre-start script + test -O /etc/mactelnetd.users || { stop; exit 0; } + test -x /usr/sbin/mactelnetd || { stop; exit 0; } +end script + +exec /usr/sbin/mactelnetd -f diff --git a/config/mactelnetd.users b/config/mactelnetd.users index 7b215e1..c140e36 100644 --- a/config/mactelnetd.users +++ b/config/mactelnetd.users @@ -1,5 +1,12 @@ # Users file for MAC-Telnetd -# Use existing usernames from your system +# +#################################################################### +# WARNING: This file has passwords written in plain-text. # +# Make sure this file is owned and only readable by root. # +#################################################################### +# +# Each line consists of a username and a password seperated by :. +# Usernames must be existing users from passwd. # # Format: #username:password |