1748138 Members
3667 Online
108758 Solutions
New Discussion

Shell scripts

 
SOLVED
Go to solution
ShivKumar_1
Frequent Advisor

Shell scripts

Hi
I have the following requirement by my client he doesnt want me to use any 3rd party software or tools. But resolve it through shell scripts. Thnaks in advance
_____________________________________________

Each system must generate a security alaram by which to alert the administrator of a potential security or
suspicious activity Eg: High volumes of bad packet data or corrupted data.
The alarm must be activated by the following events

1) Five consecutive unsucessful login attempts during a single session
2) Sucessful modification of critical system or application files
3) Sucessful and unsucessful attempts to gain permission or assume identitiy of another user
4) Upon sucessful login the system must display the date and time of last sucessful logins
5) Each system must maintain a list of security files which is accesible by the administrator of the following events

a) Sucessful and unsucessful events
b) Sucessful and unsucessful attempts to switch to another user's account
c) All changes to system security ,including adding users
d) Operating system configuration changes
e) Logoffs
f) Inactive user sessions

6) Disabling inactive userids which were inactive for more than 15 days
7) No reuse of the same password used in the past
1 REPLY 1
Tim Malnati
Honored Contributor
Solution

Re: Shell scripts

When you say third party is this to say that the client simply does not want to pay for another vendor's product or is it a situation where 'standard' Linux utilities are acceptable. For instance, Tripwire is a utility that is part of many Linux distibutions and will handle a lot of what you are looking to do. But if your client is looking to do this entirely with shell scripts there is a lot of reinventing of the wheel required.

It seems that your client is very concerned about security for some reason and this brings up another thought. Linux is totally PD and as such has a variety of additional security implications involved where the source is available to any hacker. To this end a unix flavor from HP, IBM, Sun, etc. is superior in several security areas:

1. The source is held by the vendor and therefor is much more difficult to hack.

2. The unix vendors are very aware of security loopholes as they occur and usually deal with them with much better priority, notification, fix distribution, etc. With Linux you can end up in a position of waiting for the software originator to get around to it or do it yourself.

3. Many unix flavors have acl's fully implemented.

4. Many unix vendor's have security hardened versions of their operating systems available.