To access the iLo port on a Lefthand NSM 2120 using the HP DL320S hardware use the following credentials. username – sanmonpassword – sanmon https://nodeIP:2381
Month: July 2009
MySQL Crib Sheet Cheat Sheet
To login (from unix shell) use -h only if needed.[mysql dir]/bin/mysql -h hostname -u root -p Create a database on the sql server.create database [databasename]; List all databases on the sql server.show databases; Switch to a database.use [db name]; To see all the tables in the db.show tables; To see database’s field formats.describe [table name]; […]
HowTo: Backtrack 4 (Beta) Hard Drive Installation
UPDATE: See BackTrack 4 Pre-Release Hard Disk Install for updated instructions for the newer BackTrack 4 Beta. Backtrack 4 does not contain an installer, so we wrote this step by step guide based on muts cookbook on how to install Backtrack 4 on our hard disk drive. Step 1 – Creating the partitionsFirst we will need […]
Linux Command: iwconfig
NAME iwconfig – configure a wireless network interface SYNOPSIS iwconfig [interface]iwconfig interface [essid X] [nwid N] [mode M] [freq F][channel C][sens S ][ap A ][nick NN ][rate R] [rts RT] [frag FT] [txpower T][enc E] [key K] [power P] [retry R][commit]iwconfig –helpiwconfig –version DESCRIPTION Iwconfig is similar to ifconfig(8), but is dedicated to the wireless […]
Renew IP in Linux Using dhclient
dhclient -r eth0dhclient eth0
login script vbscript printer mappings
Create a file called file.vbs, then copy and past the content belowthe pound signs w/ appropriate information to map network printersReference it in the user account after placing it under %NETLOGON%############################################## on error resume next Set WshNetwork = Wscript.CreateObject(“Wscript.Network”) wshNetwork.AddWindowsPrinterConnection “\serverprintershare” WSCript.Quit
Securing Linux & PHP
MOD_REWRITE OVERVIEWhttp://www.sitepoint.com/article/guide-url-rewritinghttp://www.jeffdarlington.com/tag/mod_rewrite/ LINUX SECURE CONFIGhttp://aymanh.com/tips-to-secure-linux-workstation PHP SECURE CONFIGhttp://aymanh.com/checklist-for-securing-php-configuration MOD_REWRITE SCRIPTS FOR APACHESIMPLEST SET OF RULES================================================================== #Turn on mod_rewriteRewriteEngine OnRewriteOptions inheritRewriteLog “/var/log/httpd/rewrite_log” # Prevent harmful binary execution through injectionRewriteCond %{REQUEST_URI}?%{QUERY_STRING} (.*)chmod(.*) [OR]RewriteCond %{REQUEST_URI}?%{QUERY_STRING} (.*)chown(.*) [OR]RewriteCond %{REQUEST_URI}?%{QUERY_STRING} (.*)wget(.*) [OR]RewriteCond %{REQUEST_URI}?%{QUERY_STRING} (.*)cmd(.*) [OR]RewriteCond %{REQUEST_URI}?%{QUERY_STRING} (.*)cd%20(.*) [OR]RewriteCond %{REQUEST_URI}?%{QUERY_STRING} (.*)scp(.*) [OR]RewriteCond %{REQUEST_URI}?%{QUERY_STRING} (.*)curl(.*) [OR] # Disable TRACE & TRACK methodsRewriteCond […]
Changing hostname in Linux
Change hostname linux If your change is only temporary, or you want to make it without rebooting, you just need to use the hostname command, which can be found at /bin/hostname. Running it without arguments just outputs the current hostname. To change it, su to root and run hostname newhostname. You need to look at […]
Linux SMTP Test Script
Must telnet to port 25 of the mail server first————————————————— ehlo test mail from: rcpt to: data subject: test via telnet test via telnet to jim b – should create a log entry .
Creating Client SSL VPN on Cisco ASAs
Introduction This document how to allow remote access VPN connections to the ASA from the Cisco AnyConnect 2.0 client.PrerequisitesRequirements Ensure that you meet these requirements before you attempt this configuration: * Basic ASA configuration that runs software version 8.0* ASDM 6.0(2) Components Used The information in this document is based on these software and hardware […]