2008年11月8日土曜日

5分で分かる正しい会社の辞め方

Business Media 誠:山崎元の時事日想:5分で分かる正しい会社の辞め方 (1/2)

小さくても嘘は嘘だ。余計な嘘をつくと、気まずい相手が世の中に増えて、それだけ自分が弱くなる。

2008年10月23日木曜日

Ubuntu使ってみたメモ

vinoとかいうリモートコントロールするシステムがあるらしい。
vnc4serverをインストール。
rootになるにはsudo su。


~/.vnc/xstartup
4行目は何時もどおりコメントアウト。
5行目は/bin/sh /etc/X11/xinit/xinitrcへと変更。


Gnomeのエラー軽減。
gconf-editorの/apps/gnome_settings_daemon/plugins/keyboard と /apps/gnome_settings_daemon/plugins/mouse のactiveのチェックを外す

参考サイト様
http://pc.watanet.com/?p=344
http://d.hatena.ne.jp/rx7/20080919/p2
http://d.hatena.ne.jp/elsal/20070215/1171475560


sshd
apt-get install openssh-server

Cygwin OpenSSH problem of start service.

OS WindowsVista x86-64


$ ssh-host-config -y
*** Query: Overwrite existing /etc/ssh_config file? (yes/no) yes
*** Info: Creating default /etc/ssh_config file
*** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes
*** Info: Creating default /etc/sshd_config file
*** Info: Privilege separation is set to yes by default since OpenSSH 3.3.
*** Info: However, this requires a non-privileged account called 'sshd'.
*** Info: For more info on privilege separation read /usr/share/doc/openssh/READ
ME.privsep.
*** Query: Should privilege separation be used? (yes/no) yes
*** Warning: The file /etc/passwd is not readable by all.
*** Warning: Please run 'chmod +r /etc/passwd'.
*** Warning: The file /etc/group is not readable by all.
*** Warning: Please run 'chmod +r /etc/group'.
*** ERROR: Problem with LocalSystem or Adminstrator IDs


$ ls -l /etc/passwd
-r-xr-x---+ 1 matsumura Users 745 Sep 26 02:37 passwd

$ ls -l /etc/group
-r-xr-x---+ 1 matsumura Users 1147 Sep 26 02:37 group

$ chmod +r /etc/passwd

$ chmod +r /etc/group

$ ls -l /etc/passwd
-r-xr-xr--+ 1 tsumura Users 745 Sep 26 02:37 passwd

$ ls -l /etc/group
-r-xr-xr--+ 1 tsumura Users 1147 Sep 26 02:37 group

$ ssh-host-config -y
*** Query: Overwrite existing /etc/ssh_config file? (yes/no) yes
*** Info: Creating default /etc/ssh_config file
*** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes
*** Info: Creating default /etc/sshd_config file
*** Info: Privilege separation is set to yes by default since OpenSSH 3.3.
*** Info: However, this requires a non-privileged account called 'sshd'.
*** Info: For more info on privilege separation read /usr/share/doc/openssh/READ
ME.privsep.
*** Query: Should privilege separation be used? (yes/no) yes
*** Warning: The permissions on the directory /var are not correct.
*** Warning: They must match the regexp d..x..x..[xt]
*** ERROR: Problem with /var directory. Exiting.

$ chmod 111 /var

$ ls -l /
d--x--x--x+ 14 tsumura Users 4096 Oct 22 12:25 var

$ ls -l /etc/passwd
-r-xr-xr--+ 1 tsumura Users 745 Sep 26 02:37 /etc/passwd

$ chmod +w /etc/passwd

$ ls -l /etc/passwd
-rwxr-xr--+ 1 tsumura Users 745 Sep 26 02:37 /etc/passwd

2008年10月3日金曜日

http://image01.wiki.livedoor.jp/d/i/dfi_wiki/84f8cfb8.pdf

2008年10月2日木曜日

DDO.JPの更新メモ

DNS.sh

#! /bin/sh
wget -O DNSResult.html http://free.ddo.jp/dnsupdate.php?dn=ドメイン名&pw=パスワード &
firefox DNSResult.html &
exit 0

2008年9月29日月曜日

Fedora 9で日本語を入力するには

先日インストールしたFedora9 x64マシンで日本語が入力できない。
何かそもそも日本語サーバーが入ってない気がしてググッタラ一発だった。


http://www.atmarkit.co.jp/flinux/rensai/linuxtips/a093fedora9jp.html

# yum groupinstall 'Japanese Support' --exclude=xorg-x11-server-Xorg

2008年9月28日日曜日

「マクロスF最終回」 ソードマスターアルト

http://yunakiti.blog79.fc2.com/blog-entry-976.html
アルト「チクショオオオオ!くらえブレラ!!」
ブレラ「さあ来いアルトオオ!オレは実は一回叩かれただけで洗脳が解けるぞ!」
(ボカ)
ブレラ「グアアアア!この盲目のシスコンブレラが…こんな小僧に…洗脳を解かれるなんて」
(ドドドドド)
ブレラ「グアアアア」

グレイスA「ブレラの洗脳が解けたようだな…」
グレイスB「ククク…奴はシスコンの中でも最弱…」
グレイスC「空気ごときに負けるとはシスコンの面汚しよ…」
アルト「くらえええ!」
(バキューン)
3人「グアアアアアアア」
アルト「やった…ついにクイーンを倒したぞ…これでフロンティアへの扉が開かれる!!」
空「よく来たなアルト…待っていたぞ…」
(ブーン)
アルト「こ…ここが本物の空なのか…!感じる…ランカとシェリルの翼を…」
空「アルトよ…飛ぶ前に一つ言っておくことがある お前はランカかシェリルかを選ばなければならないと思っている様だがようだが…別に選ばなくても終わる」
アルト「な 何だって!?」
空「そして残された伏線は劇場版で回収しておく あとは私を飛び回るだけだなクックック…」
(ブーン)
アルト「フ…上等だ…オレも一つ言っておくことがある このオレには家庭の問題とか色々あったが別にそんなことはなかったぜ!」
空「そうか」
アルト「ウオオオいくぞオオオ!」
空「さあ来いアルト!」
アルトの翼が空を飛び回ると信じて…! ご視聴ありがとうございました!