I was working with a coworker today to setup a new Redmine server running on top of Ubunut 12.04 and one of the steps we completed in the process was setting up LDAP authentication in Redmine. Setting up LDAP authentication in Redmine requires the server running Redmine to be joined to the Windows Active Directory domain so I needed a quick way to auth Linux on Active Directory. I have used Centrify in the past and remember it being really easy to setup authentication from any form of Linux to a Windows domain and again it did not disappoint. Follow the directions below to join a Linux server to Active Directory using Centrify.
The below code snippet was used to add SSH users to RackSpace cloud CentOS Linux nodes being used as application servers and managed via RightScale. The SSH users were required during a testing phase so they could look through logs and make modifications to specific configuration files, etc. There are three things that have to happen to create the SSH user, allow them to login, and provide them the necessary rights on the server to accomplish their tasks which include adding the user, modifying the sshd config to allow password logins, and update the sudoers file to enable sudo access for wheel group users.
Earlier I was working on a clients Mac OSX laptop and needed to login remotely without the hassle of setting a password and then removing it when I was done. The article below will describe not only how to enable SSH from a terminal window on the Macintosh laptop itself but also how to configure SSH so it will allow remote login via SSH without a password.
This is one of those things I just wanted to do because I thought it would be cool. I woke up this morning at 4:00 AM for no apparent reason, and could not get back to sleep. I started fiddling around with some work servers when the idea hit me that me and Alex needed a cool ssh banner for the tools server. This is probably the lamest article ever but I may want to do this again someday so I decided to document it.