OpenBSD 自定义登入后的讯息

2009-05-13 09:10:54来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折


                                                登陆OpenBSD后会出现一段文字
OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
Welcome to OpenBSD: The proactively secure Unix-like operating system.
Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code.  With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.
你也可以自定义开机文字
首先屏蔽以下信息:
# vi /etc/rc
===================== rc ====================
注释掉下面的内容:
# patch /etc/motd#if [ ! -f /etc/motd ]; then# install -c -o root -g wheel -m 664 /dev/null /etc/motd#fi#T=`mktemp /tmp/_motd.XXXXXXXXXX`#if [ $? -eq 0 ]; then# sysctl -n kern.version | sed 1q >; $T# echo "" >;>; $T# sed '1,/^$/d' ;>; $T# cmp -s $T /etc/motd || cp $T /etc/motd# rm -f $T#fi
然后用 /etc/motd 来修改讯息
# vi /etc/motd
This is atyu30#hotmail.com's OpenBSD!

               
               
               
               
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/28922/showart_345413.html

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:今天提交了两个New ports

下一篇:OpenBSD 自定义登入前的讯息