Debian FAQ

Debianに関するよくある質問です。

タイムゾーンを日本時間にするには?

# vi /etc/default/rcS
# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
UTC=no
# tzconfig
Your current time zone is set to US/Eastern
Do you want to change that? [n]: y
Number: 5
Name: [] Tokyo
Your default time zone is set to 'Asia/Tokyo'.
Local time is now:      Tue Jan 17 20:42:01 JST 2006.
Universal Time is now:  Tue Jan 17 11:42:01 UTC 2006.

日本語ロケールの設定

# apt-get install locales

[*] ja_JP.EUC-JP EUC-JP
[*] ja_JP.UTF-8 UTF-8
[ ] ka_GE GEORGIAN-PS
 
Which locale should be the default in the system environment?
  ja_JP.EUC-JP

rootユーザーでログインできません

/etc/securetty ファイルに、rootでログインを「許す」端末を列挙します

# vi /etc/securetty
# /etc/securetty: list of terminals on which root is allowed to login.
# See securetty(5) and login(1).
console

# for people with serial port consoles
ttyS0
ttySC0            ← 例えばCAT709/CAT760の場合はttySC0を追加

端末名はどうやって調べるんですか?

自分がいまいる端末は tty コマンドで調べます。

# tty
/dev/pts/0

リンク

自動リンク

コメント欄

Last-modified: 2006-04-27 (木) 01:11:21 (6573d)