diff options
author | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2011-02-27 16:08:26 +0100 |
---|---|---|
committer | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2011-02-27 16:08:26 +0100 |
commit | d4141ba5a1ca0a3374cbd2e0ff55b3c63719ec28 (patch) | |
tree | 3d519a1bbcb8ef8c09b8aaab7e47c757fb4f0fb4 /config | |
parent | 9f9610327c6b5dd3f738b6dddcc77646376d9fd9 (diff) | |
download | MAC-Telnet-d4141ba5a1ca0a3374cbd2e0ff55b3c63719ec28.tar.gz MAC-Telnet-d4141ba5a1ca0a3374cbd2e0ff55b3c63719ec28.zip |
Removed .deb specific files and updated makefile/readme
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 |