Thursday, June 29, 2017

Testing the AD User Authentication with Centrify

Test 1: Test with SSH
The simplest way is to enable SSH and connect to it.

Test 2: Test with adinfo
# adinfo -A --user user1
Active Directory password:
Password for user "user1" is correct

Test 3: Test using kinit
# /usr/share/centrifydc/kerberos/bin/kinit user1
# /usr/share/centrifydc/kerberos/bin/klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: user2@test.com
.....
.....
Valid starting       Expires           Service principal
.....
.....
References:
  1. Centrify is in connected mode but users are unable to login.

Thursday, May 18, 2017

Installing Octave with HDF5 on CentOS 6.8 with yum

If you are installing octave on CentOS6 and you wish to install HDF5, you may want to pull HDF5 from EPEL instead of RPMFORGE. You may have both repositories so you have to disable RPMFORGE first

# yum-config-manager --disable rpmforge

Install Octave with HDF5

# yum install octave hdf5 hdf5-devel

Monday, April 17, 2017

Generating public keys from a SSH private key

If you just need to generate a Public Key from SSH Private Key, you will need to
# ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
where  -y output the public key

References:
  1. How do I retrieve the public key from a SSH private key?

Wednesday, April 12, 2017

Installing OpenCV on CentOS 6 on yum

Installing OpenCV using CentOS 6 using yum is very straightforward. For CentOS 6,
# yum install python-devel python-nose python-setuptools gcc gcc-gfortran gcc-c++ blas-devel lapack-devel atlas-devel

# yum install opencv