We saw in the first video that we can use LDIF files to create objects within our openLDAP server; we created to OUs for People and Groups. We start in the same manner looking at how we can start creating the leaf objects, rather than containers, users and groups in the directory. This can be achieved […]
users
A better lastlog — Bash Scripting
The output of lastlog is useful and shows you all the users and the date and time of their last login. Firstly though, we need to filter out the system accounts who never login. This is easy with grep -v “Never logged in”. More importantly we need to know how to compare two dates in Linux so we […]