Sysprep Example File
Here is an example sysprep.inf file that I use with most of my Windows imaging. Please note prior to use that your Driver directory structure may be different and that the Product Key has been removed.
Here is an example sysprep.inf file that I use with most of my Windows imaging. Please note prior to use that your Driver directory structure may be different and that the Product Key has been removed.
Michael Howard, a senior security program manager in Microsoft Corp.’s security business and technology unit, and friends have set up a Wiki to help users run with a Least-privileged User Account.
The newer Xeon chips with EM64T show up in Linux as two processors. Needless to say I was surprised to find quad processors in my dual Xeon machine.
Also of note, the latest versions of the top command combine the cpu info. Before you worry that you’re not seeing all of your processors present, hit the “1″ key. They will be listed separately.
Here is a little VBS script for Windows 2000/XP that will map the drive of your choice for a user at login. It uses the username they’ve used to log in and appends that to the variable strDriveLetter.
Option Explicit
Dim objNetwork
Dim strDriveLetter, strRemotePath, strUserName
strDriveLetter = “H:”
strRemotePath = “\\128.112.35.85″
Set objNetwork = WScript.CreateObject(”WScript.Network”)
strUserName = objNetwork.UserName
objNetwork.MapNetworkDrive strDriveLetter, strRemotePath _
& “\” & strUserName
WScript.Echo ” Please save all files to your network drive, mapped as ” & strDriveLetter & ” under My
Computer.”
WScript.Quit
The default bash environment as part of Solaris 9 does not automatically set a variable for EDITOR. Without it, editing the crontab via crontab -e may look like you’re using a simple line-by-line editor, but in fact you won’t be able to save any of your cron entries. Its probably best practice to assign the EDITOR variable something like nano, pico or vi and then proceed with manipulating your crontab.
I was banging my head against the wall trying to remember how to import a CSV file into MySQL via the command line.
LOAD DATA INFILE ‘/tmp/textfile.txt’ INTO TABLE `tablename` FIELDS TERMINATED BY ‘,’ ENCLOSED BY ‘”‘ ESCAPED BY ‘\\’ LINES TERMINATED BY ‘\r\n’;
Powered by WordPress