A quick post just to show how to configure a PC-BSD or a FreeBSD workstation to run kinit(1) right when you login. In this example, the desktop machine is running PC-BSD 9.0 with the GNOME desktop.
Thursday, June 28, 2012
Tuesday, June 12, 2012
Wee all need to backup our machines. But we also need to keep the data private and the backup procedure secured. In UNIX and Linux machines, we need to run the backup operation as root in order to read everything on the machines. But allowing remote connections as the root user is not exactly a good idea. So how to we proceed? We use rsnapshot(1) and rssh(1) together with OpenSSH to secure the whole process. Here's how to do it on CentOS 6.
In case you're running a heterogeneous network, please note that I've successfully configured this process on FreeBSD, PC-BSD, RedHat, Ubuntu, AIX and Solaris servers.
In this example, our backup server is called backup.company.com and is running CentOS 6 while the clients are :
Friday, June 8, 2012
We continue our OpenLDAP 2.4 on CentOS 6.2 with a description on how to setup between two OpenLDAP 2.4 servers. This happens to be the final bullet point in our list of goals :
Install OpenLDAP 2.4. Configure Transport Layer Security (TLS). Manage users and groups in OpenLDAP. Configure pam_ldap to authenticate users via OpenLDAP. Use OpenLDAP as sudo's configuration repository. Use OpenLDAP as automount map repository for autofs. Use OpenLDAP as NFS netgroup repository again for autofs. Use OpenLDAP as the Kerberos principal repository. Setup OpenLDAP backup and recovery.
- Setup OpenLDAP replication.
- provider : alice.company.com (a.k.a. master server)
- consumer : bob.company.com (a.k.a. replica server)