diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..7246d80 --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,3 @@ +2013-12-31 +Version 0.1 - First release of the script (detached from my class repository) + diff --git a/configure.sh b/configure.sh index 2d0d1e0..b62c81d 100755 --- a/configure.sh +++ b/configure.sh @@ -1,8 +1,27 @@ #!/bin/bash -# Jack-Benny Persson -# LX13 -# Configuration script to update the hardcoded binaries +################################################################################ +# # +# Copyright (C) 2013 Jack-Benny Persson # +# # +# 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) diff --git a/failedlogins.sh b/failedlogins.sh index 6f2a5d8..edfb871 100755 --- a/failedlogins.sh +++ b/failedlogins.sh @@ -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 # +# # +# 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"