LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

LDAP SERVER on CENTOS 6

Posted 12-23-2011 at 05:22 AM by unni.kpr@gmail.com

Hi to all
I searched a lot to find a way to configure LDAP 2.4.X in my centos 6 server.Please help me to configure the ldap in centos 6 if possible provide help for Ldap + SMB .Please :|

Regards
Unnikrishnan P R
unni.kpr@gmail.com
LQ Newbie
Posted in Uncategorized
Views 3502 Comments 1 unni.kpr@gmail.com is offline
Old

configuration of squirrel mail in RHEL 5.2

Posted 12-23-2011 at 03:39 AM by deep27ak
Updated 08-18-2012 at 04:02 AM by deep27ak

For more Linux based tutorials My BLOG

To install squirrel mail you will need to download the tar file.
here is a link where you can find one

http://squirrelmail.org/download.php

make a directory inside /var/www/
Code:
#mkdir /var/www/mail
and unzip the file tar file inside this directory. You can use this command for that
Code:
#tar -tjvf squirrelmail.x.x.x.tar.bz2
you might also need php and php-imap to...
Senior Member
Posted in Uncategorized
Views 834 Comments 0 deep27ak is offline
Old

VBS for cwrsync - RSYNC_PASSWORD gotcha

Posted 12-23-2011 at 12:19 AM by catkin
Updated 12-23-2011 at 12:20 AM by catkin (Added comment moderation and email notification)

When running cwrsync as SYSTEM it difficult to satisfy rsync's requirement that the password file must be owned by root and readable only by root.

One solution is to set the RSYNC_PASSWORD environment variable.

When using Visual Basic Script to automate the cwrsync run, there's a "gotcha" -- RSYNC_PASSWORD must be a SYSTEM environment variable, not a USER environment variable.

Sample code:
Code:
objWshShell.Environment("SYSTEM").Item("RSYNC_PASSWORD")
...
LQ 5k Club
Posted in Uncategorized
Views 1227 Comments 0 catkin is offline
Old

Selecting fields from a line using "cut"

Posted 12-22-2011 at 06:56 PM by Telengard (Here are some things which I hope will be helpful.)
Updated 12-26-2011 at 10:26 PM by Telengard
Tags cut

using cut to break down text

You can use cut to grab only the data you want from a line of text. Tell cut which groups of characters you are interested in and it will print them. By default cut uses tab characters to break down groups of text from the input file.

NOTE: In the example data files which follow, the strings <TAB> and <SPACE> shall be used to visually distinguish whitespace characters. A tab character is the character generated when you press the...
Member
Views 5495 Comments 0 Telengard is offline
Old

How to kill lines before and after a pattern

Posted 12-21-2011 at 05:45 PM by Telengard (Here are some things which I hope will be helpful.)
Updated 12-21-2011 at 06:27 PM by Telengard
Tags awk

PHP Code:
#! /usr/bin/awk -f

# Deletes n lines before pattern and m lines after.
# Intended to be portable.
# It is your own responsibility to evaluate the fitness of this program.

BEGIN {
    
# set the following initializers as you please
    # FS=" "
    # OFS=" "
    
n=5
    m
=3
}

/
line 11/ { # insert your desired regex "pattern" between the slashes
    
pattern_line=FNR 
...
Member
Posted in programming
Views 1009 Comments 0 Telengard is offline

  



All times are GMT -5. The time now is 02:21 PM.

Main Menu
Advertisement
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration