UNIX

4

Executing Local Shell Commands on the Web

http://snalk.com

Each entry has the displayed text (item) and the command to be executed (cmd). This first script only uses the item text to display a list of commands that may be executed:

Read more »
prashant's picture
Created by prashant 2 weeks 2 days ago – Made popular 2 weeks 2 days ago
Category: Technology   Tags:
4

Creating and Using a Custom Perl Library

http://snalk.com

Creating a library is easy—just place the following into the file

Read more »
prashant's picture
Created by prashant 2 weeks 2 days ago – Made popular 2 weeks 2 days ago
Category: Technology   Tags:
4

Security with HTTP Authentication

http://snalk.com

You probably don't want to allow open access to certain parts of your web interface. In many cases, you may want to restrict access to everything. HTTP gives basic authentication support that is compatible with all browsers and is easy to use.

Read more »
prashant's picture
Created by prashant 2 weeks 5 days ago – Made popular 2 weeks 5 days ago
Category: Technology   Tags:
4

Defining Interface Specifications

http://snalk.com

When I create a user interface, I like to make sure it is flexible and expandable. Although I could just hard-code the exact functionality I need at the moment, it is better in the long term to define the interface using a configuration file (as much as possible).

Read more »
prashant's picture
Created by prashant 2 weeks 5 days ago – Made popular 2 weeks 5 days ago
Category: Technology   Tags:
4

Creating the Underlying Working Scripts

http://snalk.com

The underlying scripts are the actual commands that make changes to your systems. For all of your automation tasks, it is a good idea to do the dirty work with command-line programs. They may be bash or Perl scripts, as long as they do not require direct user interaction.

Read more »
prashant's picture
Created by prashant 2 weeks 5 days ago – Made popular 2 weeks 5 days ago
Category: Technology   Tags:
4

Excluding Files When Using rdiff-backup

http://snalk.com

A wide variety of command-line options allows you to control which files are included in the backup process. Here are the ones more commonly used:

Read more »
prashant's picture
Created by prashant 2 weeks 5 days ago – Made popular 2 weeks 5 days ago
Category: Technology   Tags:
4

Creating Incremental Backups with rdiff-backup

http://snalk.com

You can run the script as often as you like. I would suggest running it once per day. If the data is very important (like a corporate CVS repository), running it once per hour wouldn't be unreasonable.

Read more »
prashant's picture
Created by prashant 2 weeks 5 days ago – Made popular 2 weeks 5 days ago
Category: Technology   Tags:
4

Basic Backups with rsync

http://snalk.com

You can perform basic complete backups with rsync just like with cfengine. Here is an example shell script that can be executed on a daily basis on each of your systems:

Read more »
prashant's picture
Created by prashant 2 weeks 5 days ago – Made popular 2 weeks 5 days ago
Category: Technology   Tags:
4

Defining a Tripwire Rule

http://snalk.com

Defining a rule is simple. With an appropriate rule, Tripwire can monitor any file on your system in any way you want. As an example, consider a common file for an attacker to modify –/bin/login. This program can be replaced with a version that logs the users' passwords to be used by the attacker at some future time.

Read more »
prashant's picture
Created by prashant 2 weeks 6 days ago – Made popular 2 weeks 6 days ago
Category: Technology   Tags:
4

Firewall Configuration Script

http://snalk.com

Here is a nice generic script that you can use to create a simple firewall on each of your systems. It is great for single systems with only one network interface.

Read more »
prashant's picture
Created by prashant 2 weeks 6 days ago – Made popular 2 weeks 6 days ago
Category: Technology   Tags:

User login

Navigation

Who's online

There are currently 0 users and 59 guests online.