From d4141ba5a1ca0a3374cbd2e0ff55b3c63719ec28 Mon Sep 17 00:00:00 2001 From: Håkon Nessjøen Date: Sun, 27 Feb 2011 16:08:26 +0100 Subject: Removed .deb specific files and updated makefile/readme --- config/mactelnetd.init | 21 +++++++++++++++++++++ config/mactelnetd.users | 9 ++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 config/mactelnetd.init (limited to 'config') 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 -- cgit v1.2.3