Category O/S

redhat add multiple users

useradd script to add multiple users to a system and force them to change their password upon login try the following script: Redhat # for name in someuser anotheruser yetanotheruser; do useradd $name; echo ‘password’ | passwd –stdin $name; chage…

linux disable ssh timeout

On Linux disable SSH timeouts You’ll need to edit /etc/ssh/sshd_config and set these directives: TCPKeepAlive yes ClientAliveInterval 30 ClientAliveCountMax 99999 To set SSH to disconnect if the user does not input anything for then hours: TCPKeepAlive yes ClientAliveInterval 60 ClientAliveCountMax…

Mac MySQL GUI Tool

Mac MySQL GUI Tool Sequel Pro Best Looking MySQL Cocoa App. Sequel Pro is a fast, easy-to-use Mac database management application for working with MySQL databases. Flexible Connectivity. Sequel Pro gives you direct access to your MySQL databases on local…

RHCSA Quick-Notes

Configure client to use ntp-server 192.168.0.4 # nano -w Add line: server 192.168.0.4 iburst Remove lines: server 0 …. server 1 …. server 2 …. # service ntpd restart # chkconfig ntpd on Resize logical volume (lv) mounted at…

RHCSA Training Labs

These are some labs I have crafted to prep for the RHCSA exam.  Hopefully you will find this useful! Brakertech’s RHCSA Training Labs Objective: Configure NTP Client to sync against a custom NTP server Configure Local NTP Server The first…

Trace ASP.NET Application

You’ll need to edit the web.config Web.config Place the following after system.web tag: Trace ASP.NET Application Those options only allow you to see the trace from the server itself. RDP in to the server Connect to: