Imagine that you are logged with "administrator" account on a PC, then you map a drive on another PC that also has "administrator" account and for some reason the password is the same as in your PC (it may happen if you are managing both PCs). In this case Windows will not ask you for a password, althought you might think that these are two different accounts and another PC should reject it. This effect appears at least on Windowx XP SP2.
Search This Blog
Friday, December 29, 2006
Wednesday, December 27, 2006
HP temperature meter in MRTG
Tested on DL360G4
Target[server_temp]: WaLK3.1.3.6.1.4.1.232.6.2.6.8.1.4.0&WaLK3.1.3.6.1.4.1.232.6.2.6.8.1.4.0:public@192.168.1.47
MaxBytes[server_temp]: 100
AbsMax[server_temp]: 150
Options[server_temp]: gauge, growright
Title[server_temp]: Sever System Temperature
YLegend[server_temp]: Temperature (C)
LegendI[server_temp]: System temperature:
LegendO[server_temp]:
PageTop[server_temp]: <h1>Temperature analisys for xxxx </h1>
MaxBytes[server_temp]: 100
AbsMax[server_temp]: 150
Options[server_temp]: gauge, growright
Title[server_temp]: Sever System Temperature
YLegend[server_temp]: Temperature (C)
LegendI[server_temp]: System temperature:
LegendO[server_temp]:
PageTop[server_temp]: <h1>Temperature analisys for xxxx </h1>
Cisco ASA view active VPN sessions
Below you can find a web script that shows active VPN sessions on Cisco ASA. It logs with predefined user vpn-view. This user has priviledge 0, but is able to use show vpn- command.
The script runs on PerlEx (ActivePerl) and obviously IIS 6.0. Save it as "vpn-view.aspl"
------------------------------script starts here -------------------------
<%
use CGI;
use Net::Telnet::Cisco;
my $cgi = new CGI;
use CGI;
use Net::Telnet::Cisco;
my $cgi = new CGI;
my $session = Net::Telnet::Cisco->new(Host => '192.168.1.5', Prompt => '/[\$%#>] $/');
$session->login("vpn-view", "Password");
$session->print("login");
$session->print("vpn-view");
$session->print("Password");
$session->cmd('terminal pager 0');
my @output;
@output = $session->cmd('sh vpn- full remote');
#print "Content-type: text/html\n\n";
print "<html><head>\n";
print "<title>VPN - current sessions</title></head>\n";
print "<body bgcolor=\"#FFFFFF\" text=\"#000000\" link=\"#FF0000\" vlink=\"#800000\">\n";
$now_string = localtime;
print "Timestamp: ";
print $now_string;
print "<title>VPN - current sessions</title></head>\n";
print "<body bgcolor=\"#FFFFFF\" text=\"#000000\" link=\"#FF0000\" vlink=\"#800000\">\n";
$now_string = localtime;
print "Timestamp: ";
print $now_string;
foreach (@output) {
print $_;
print "<br>\n";
}
print $_;
print "<br>\n";
}
print "</body></html>";
$session->close;
$session->close;
%>
------------------------------script stops here -------------------------
Free Antivirus
If you are looking for a free antivirus try AVG http://free.grisoft.com I'm using it for 2 years already and quite happy that I never had virus issues.
Partition manager
Try Gparted LiveCD, it's working perfectly! Just now I resized partition on HP DL360G4 server. The sequence:
1) download ISO image and burn on CDRW
2) Map CD remotely to a server using Virtual Media ILO feature
3) Reboot, GParted recognized all HW without any problem (!).
4) Resize, chkdsk, enjoy!
1) download ISO image and burn on CDRW
2) Map CD remotely to a server using Virtual Media ILO feature
3) Reboot, GParted recognized all HW without any problem (!).
4) Resize, chkdsk, enjoy!
Wednesday, December 13, 2006
Start
Hello, I decided to try first time this technology - "blog"!
Subscribe to:
Posts (Atom)