LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

OpenLDAP and Perl

Posted 01-12-2012 at 06:15 PM by anomie
Updated 01-12-2012 at 06:19 PM by anomie

I recently deployed a slapd(8) instance, and immediately recognized the need for a robust directory entry management utility. After doing some reading and experimentation, I discovered that Perl - and a few accompanying modules - handle the job nicely. What I'm sharing here is a brief, rather disjointed synopsis and some code samples.

In order to understand and use the samples, you should be comfortable with Perl and the installation of modules. And you'll certainly want a good fundamental...
Senior Member
Posted in Uncategorized
Views 124 Comments 0 anomie is offline
Old

Quick-and-dirty symmetric encryption

Posted 01-27-2011 at 11:53 PM by anomie

Nothing earth shattering here. Just a quick automation utility I put together using the venerable openssl.

The wrapper script does a couple sanity checks, and saves you from having to remember command options for enc(1). You can change _cipher to suit your tastes / baked-in support.

Code:
#!/bin/sh

# $Id: encrypt,v 1.3 2011/01/28 04:38:22 anomie $

# NOTE -
# Save this script in your users' PATH as
#       "encrypt"
...
Senior Member
Posted in Uncategorized
Views 264 Comments 0 anomie is offline
Old

Running an sftp-only daemon on RHEL5

Posted 01-08-2011 at 04:05 PM by anomie

The problem:
  • You're a RHEL5 sysadmin.
  • You want to run your regular ol' ssh daemon.
  • You also want to chroot a few sftp users.
  • You need the OpenSSH Match directive with support for the ChrootDirectory directive! This functionality exists as of OpenSSH version 5.1. [1]
  • Alas, your RHEL5 server still runs OpenSSH version 4.3p2. [2]

----------------------------------------------------------------------

Some thoughts and a solution:

You can...
Senior Member
Posted in Uncategorized
Views 1529 Comments 0 anomie is offline

  



All times are GMT -5. The time now is 05:44 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration