Archives

You are currently viewing archive for May 2008
Category: Z. etc
Posted by: hajime osako
Category: Web dev
Posted by: hajime osako

05/30: PHP > CR/LF

Category: Web dev
Posted by: hajime osako

05/29: Linux > bash

Category: Linux tips
Posted by: hajime osako
"According to the bash man page, .bash_profile is executed for login shells, while .bashrc is executed for interactive non-login shells."
Josh Staiger: .bash_profile vs. .bashrc
Category: MS tips
Posted by: hajime osako
Debugging Tools for Windows - Overview
Debug Tools for Windows
変数名:_NT_EXECUTABLE_IMAGE_PATH
変数値:C:\WINDOWS  (Windowsのパス)

変数名:_NT_SYMBOL_PATH
変数値:http://msdl.microsoft.com/download/symbols
Category: Linux tips
Posted by: hajime osako
Using TACACS for AAA
TAC_PLUS Developer's Kit vF4.0.2.alpha

Note:
1. Modify Makefile
   OS=-DLINUX -DGLIBC
   OSLIBS=-lcrypt
2. Check /etc/services port 49
3. Sample conf
   key = xxxxxxxx
   default authentication = file /etc/passwd
   accounting file = /var/log/tac.log
   # debug log is var/tmp/tac_plus.log
   user = tacadmin {
      default service = permit
      chap = cleartext xxxxxxxx
   }
4. Run with debug
   #tac_plus -C /etc/tac-plus/tacacs.conf -d 248

debugging output in the var/tmp/tac_plus.log file
Category: MS tips
Posted by: hajime osako
What is UNC? - A Word Definition From the Webopedia Computer Dictionary

User Principal Name (UPN) format eg: hajime.@domain.com
Universal Naming Convention (UNC) formateg: \\hostname\dir\
Category: Security
Posted by: hajime osako
TACACS and RADIUS Comparison - Cisco Systems

1. RADIUS uses UDP while TACACS+ uses TCP
2. RADIUS encrypts only the password. TACACS+ encrypts the entire body of the packet but leaves a standard TACACS+ header.
3. RADIUS combines authentication and authorization. TACACS+ uses the AAA architecture
4. TACACS+ offers multiprotocol support.
5. TACACS+ provides two methods to control the authorization of router commands on a per-user or per-group basis.


Remote Authentication Dial In User Service (RADIUS)
Terminal Access Controller Access-Control System Plus (TACACS+)
Authentication, Authorization and Accounting
Category: MS tips
Posted by: hajime osako
netstat -an | find "LISTENING"
Category: MS tips
Posted by: hajime osako
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy

CodeGuru Forums - Check .NET 2.0 installed
Category: Linux tips
Posted by: hajime osako
ファイルやディレクトリを詳細な条件で探すには

$ find . -size +10k -ls


ls: Sort by filesize

$ ls -ls | sort -n

find files modified today
$ find . -daystart -mtime -1 -ls
$ find . -mmin -30 -ls

Category: Linux tips
Posted by: hajime osako
1625番のプロセスを強制終了する
$ kill -9 1625 

httpdを再起動する
$ kill -HUP httpd
【 kill 】 プロセスおよびジョブを強制終了する:ITpro
Category: Linux tips
Posted by: hajime osako
計算機と戯れる日々
$ aaa (C-z押)
$ bg
$ disown %1
$ exit

"disown %[ジョブ番号] これだけでバックグラウンドプロセスをデーモン化することが出来る。 結果的として実行中にログアウトしても大丈夫。"
Trivial Tracks: disown 覚書
Category: Linux tips
Posted by: hajime osako

05/13: Safari

Category: Web dev
Posted by: hajime osako
Category: MS tips
Posted by: hajime osako
HOW TO: Use Setup Manager to Create an Answer File in Windows Server 2003
1. Insert the Windows Server 2003 CD-ROM into the computer's CD-ROM drive or DVD-ROM drive. Press and hold down the SHIFT key as you insert the CD to prevent it from starting automatically.
2. Start Windows Explorer, and then open the Support\Tools folder on the Windows Server 2003 CD-ROM.
3. In the right pane, double-click the Deploy.cab file to open it.
4. On the Edit menu, click Select All.
5. On the Edit menu, click Copy.
6. Create a new folder on your local hard disk. To do this:
a. Click Local Disk (C:), or click the drive in which you want to create the new folder.
b. On the File menu, point to New, and then click Folder.
c. In the New Folder name box, type the name that you want, and then press ENTER.
7. Right-click the new folder that you created, and then click Paste.
8. Double-click the new folder to open it, and then double-click the Setupmgr.exe file. The Setup Manager wizard starts. Follow the instructions in the wizard to create an answer file.
Category: N800
Posted by: hajime osako
Go to "Tools > Application catalogue", click "New", enter "matrix" into the "Web Address" field, click "Cancel". Choosing the red pill will activate the red pill mode, obviously, and chosing the blue one will deactivate it.
Red pill mode
Category: Web dev
Posted by: hajime osako
To install MSDE:
Better to stop IIS
Need "File and Printer sharing" and netBIOS over TCP/IP
Check "Administrative tools" -> "Local security policy"
"Security setting" -> "Local policies" -> "Security options"
"Unsigned non-driver installation behavior" => Allow

Modify setup.ini
SAPWD="xxxxxxx"
SECURITYMODE=SQL
DISABLENETWORKPROTOCOLS=0
TARGETDIR="c:\"

C:\MSDERelA>setup /settings setup.ini
Restart the PC
Security patch (SQL Server 2000 (32-bit) Security Patch MS03-031)
Detail: http://go.microsoft.com/fwlink/?LinkId=20286

» Read More