Quick way to bind CentOS 7/Red Hat Enterprise Linux 7 to Active Directory

Using SSSD it’s relatively easy to bind a CentOS 7 or Red Hat Enteprise Linux 7 to Active Directory service. Install the needed binaries: yum install realmd sssd adcli Discover the domain: realm discover YOURDOMAIN Join the domain: realm join Continue reading Quick way to bind CentOS 7/Red Hat Enterprise Linux 7 to Active Directory

When installing ClamAV from EPEL to CentOS/Red Hat 7 becomes a nightmare…

The installation of ClamAV from EPEL 7 to CentOS/Red Hat 7 is a little bit more challenging than the simple setup used in CentOS 6/Red Hat 6. The problem isn’t really the installation itself, but the way how things are Continue reading When installing ClamAV from EPEL to CentOS/Red Hat 7 becomes a nightmare…

Convert Active Directory pwdLastSet attribute to readable time

This Active Directory attribute pwdLastSet uses a timestamp that is stored as a large integer that represents the number of 100 nanosecond intervals since 1 January 1601. When we’re familiar with working with Unix epoch time, it is not really handy. Epoch is Continue reading Convert Active Directory pwdLastSet attribute to readable time

Apple Software Update CLI and preferences

Here, you can find some tips/notes to manage Apple Software Updates from the Terminal/Script. Disable Apple Software Update automatic check: /usr/sbin/softwareupdate –schedule off Disable the download of new update in the background: /usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -bool false Disable system Continue reading Apple Software Update CLI and preferences

Disabling the password change/reminder for Active Directory accounts

When you’re asking your users to change their passwords from a website, it will be interesting to disable the ability to modify the password directly from the Mac OS X login window. The login window checks the expiration date of Continue reading Disabling the password change/reminder for Active Directory accounts