Skip to content
Advertisement

Tag: rhel

Bash: Read in file, edit line, output to new file

I am new to linux and new to scripting. I am working in a linux environment using bash. I need to do the following things: 1. read a txt file line by line 2. delete the first line 3. remove the middle part of each line after the first 4. copy the changes to a new txt file Each line

‘pecl install ibm_db2’ can’t find library

I’m trying to install ibm_db2 through pecl: Then when it asks for an install dir, I have tried various places only to have the same result. It goes through a bunch of checks etc., then tries to ‘make’ and gets an error: It always looks there for the libraries. And they exist, because when I execute: It displays: But they’re

SSSD Authentication with Samba 4

I have recently upgraded to samba 4 from samba 3.5 on a RHEL 6.3 platform. It is pleasing that the new version can replace AD DC and has it’s own built it kdc and ldb database. Now my intention is to make linux boxes authenticate to samba4 by connecting through ldap as samba 4 works like a kerberized ldap server.

Advertisement