精華區beta FreeBSD 關於我們 聯絡資訊
修改 /etc/syslog.conf man syslog.conf .......... # Log all writes to /dev/console to a separate file. console.* /var/log/console. ........... 不過這樣子的話, 你就要自己定時檢查 log file 另外, 不建議讓 root 使用 telnet (太危險了.. 任何人在你和遠端主機之間都可以 攔截你的登入資料.. 個人認為 telnet 應該完全 disable) 比較安全的作法是讓 user 另外再加入 wheel group, 然後使用 ssh 登入. 登入後 user 再利用 "su" (superuser) 指令登入為 root. 如此一來其他閒雜人等就無法攔截你的登入資料,而你也可以從 log 裡面知道是誰登入 為 root. Olen "realmcoy" <[email protected]> wrote in message news:[email protected]... > 請問一下...如果我改 /etc/ttys 使 root 可遠端登入的話.. > 是可以登入..但 consle 都會有錯誤訊息... > 可以不以 user 登入後..console 不要出現訊息..要不然在使用 vi 時都被訊昔檔到 了. > > -- > http://realmcoy.adsldns.org > E-mail:[email protected] > > ※ 來源:‧蛋捲廣場 bbs.tku.edu.tw‧[FROM: 61.231.164.89]