ablog

不器用で落着きのない技術者のメモ

2008-12-16から1日間の記事一覧

shell script で setuid 機能は使えない

Linux では shell script に setuid ビットを立てても無視される。 setuid はセキュリティホールになりやすいので要注意。 http://www.ipa.go.jp/security/awareness/vendor/programming/b07_03_main.html http://www.samag.com/documents/s=1149/sam0106a/0…

Mac OS X で root でログインできるようにする

Mac

EM114-48-23-155:~ yohei$ sudo passwd rootWARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type "man sudo" for more information.To …

Oracle の OS 認証とパスワードファイル認証

初期化パラメータ REMOTE_LOGIN_PASSWORDFILE で指定できる。 REMOTE_LOGIN_PASSWORDFILE=NONE REMOTE_LOGIN_PASSWORDFILE=SHARED http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams179.htm#REFRN10184Oracle にはデータディクシ…

アーカイブREDOログの書式

初期化パラメータ LOG_ARCHIVE_FORMAT で指定できる。 LOG_ARCHIVE_FORMAT=%t_%s_%r.dbf UNIX のデフォルト LOG_ARCHIVE_FORMAT=%T_%S_%r.dbf LOG_ARCHIVE_FORMAT={DB_NAME}_%T_%S_%r.arc http://otndnld.oracle.co.jp/document/products/oracle10g/102/doc_…

UNIX での MAXINSTANCES のデフォルト値

http://download.oracle.com/docs/cd/B19306_01/server.102/b15658/appg_db_lmts.htm#sthref1005 http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/onlineredo.htm#sthref918 http://download.oracle.com/docs/cd/B19306_01/server.102/b142…

10g Manual Database Creation in Oracle (Single Instance and RAC)

metalink の 240052.1 参照。

Solaris 10 での DB_BLOCK_SIZE の値

Solaris の UFS でサポートされているブロック・サイズは 4096 バイトまたは 8192 バイト。 推奨サイズは 8192 バイト。 Oracle の DB_BLOCK_SIZE は OS のブロック・サイズの倍数である必要がある。最大32kまで指定できる。 Solaris のブロック・サイズを 8…