Added copyright header, version and changelog

This commit is contained in:
Jack-Benny Persson 2013-12-31 13:41:18 +01:00
parent 16fe6181c1
commit 515163f223
3 changed files with 47 additions and 6 deletions

3
CHANGELOG Normal file
View File

@ -0,0 +1,3 @@
2013-12-31
Version 0.1 - First release of the script (detached from my class repository)

View File

@ -1,8 +1,27 @@
#!/bin/bash
# Jack-Benny Persson
# LX13
# Configuration script to update the hardcoded binaries
################################################################################
# #
# Copyright (C) 2013 Jack-Benny Persson <jack-benny@cyberinfo.se> #
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
# #
################################################################################
# failedlogins
# Version 0.1
# Variables
Binaries=(sed awk egrep mail printf cat grep mktemp rm tail)

View File

@ -1,8 +1,27 @@
#!/bin/bash
# Jack-Benny Persson
# LX13
# Exercise 5 on lab 8 (Write a script to check for failed logins)
################################################################################
# #
# Copyright (C) 2013 Jack-Benny Persson <jack-benny@cyberinfo.se> #
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
# #
################################################################################
# failedlogins
# Version 0.1
# Binaries
Sed="/bin/sed"