Results 1 to 4 of 4

Thread: Scripting Ideas

  1. #1
    Just burned his ISO
    Join Date
    Jan 2010
    Location
    Big Sky Country
    Posts
    17

    Default

    Need some security based ideas that will fulfill this assignment, don't need you guys to do it, just through some ideas out there. Thanks

    Final Linux script assignment – Create an administrative script application that automates something (potentially) useful for a system administrator using the Bash language. It should have the following features:

    · Be able to run the program with ./, sh, or by modifying the Path variable (and use sh to do a syntax check)

    · Edit check all input

    · Runs until the user decides to quit

    · Includes appropriate comments (how to run, what it does, etc..) and readable formatting

    · Gives the user a list of administrative functions that can be selected from a menu without knowing the command

    · Has at least 1 pipe and one redirection operator

    · Includes a java app and a c or perl sample program (this program does not have to be meaningful).

    · Includes at least one call to another script

    · Read and writes a “log” and/or configuration file of something

    · Modifies command output to make the presentation more friendly (better labels, spacing, less information, for example using sed, tr, cut, paste, join, and sort commands)

    Really no one has an idea? Huh...

  2. #2
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Quote Originally Posted by loc_staa05 View Post
    Really no one has an idea? Huh...
    Welcome to the forums.
    Re-read the rules that you agreed to when you signed up. Also see the "stickied" threads at the top of the newbie section.
    Also don't be afraid to search for yourself both here on the forums and google.
    These things will make your stay more pleasant.
    In addition there is no need to "bump" your post after one day.
    If anyone knows the answer they will give it to you.
    In the meantime do some research on your own, after all it is your project.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  3. #3
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default

    Well just a idea but something I do is script the collection of all my server log files to one place. Then i use a bit of perl + regex to parse them for the relevant data and output all of that to a nice tidy easily readable file which is then emailed to me. Pretty sure something of that nature would cover all the base's.

  4. #4
    Jenkem Addict imported_wyze's Avatar
    Join Date
    Jul 2007
    Posts
    1,543

    Default

    Quote Originally Posted by loc_staa05 View Post
    Includes a java app and a c or perl sample program (this program does not have to be meaningful).)
    That might be a tall order to fill, a good percentage of servers do not even use java for anything nor have it installed.
    dd if=/dev/swc666 of=/dev/wyze

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •