国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 操作系統(tǒng) > 正文

如何修改登錄畫面?

2024-07-26 00:31:05
字體:
供稿:網(wǎng)友
對(duì)本機(jī): 先修改文件 /etc/issue 改為相要顯示的內(nèi)容, 再修改文件 /etc/rc.d/rc.local(RedHat) 或 /etc/rc.d/rc.S(Slackware) 把下面幾句注釋掉: 

# This will overwrite /etc/issue at every boot. So, make any changes you # want to make to /etc/issue here or you will lose them when you reboot. echo "" > /etc/issue echo "Red Hat linux $R" >> /etc/issue echo "Kernel $(uname -r) on $a $(uname -m)" >> /etc/issue 

cp -f /etc/issue /etc/issue.net echo >> /etc/issue 

不然的話每次重新啟動(dòng) /etc/issue 都會(huì)被更改。 

對(duì) telnet 的遠(yuǎn)地機(jī)器: 先把文件 /etc/usr/sbin/in.telnetd 改名,如改為 in.telnetd.exe ,再編一個(gè)名為 in.telnetd 的 shell 腳 本, 在顯示完需要的內(nèi)容后再調(diào)用 in.telnetd.exe 。如: 

#!/bin/sh cat /etc/login.banner #需要在登錄提示符前顯示的內(nèi)容 echo -n "" exec /usr/sbin/in.telnetd.exe 

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 通化县| 郴州市| 枝江市| 久治县| 思南县| 中卫市| 山东省| 鹰潭市| 城固县| 鹤壁市| 宁阳县| 龙川县| 兴安县| 石渠县| 施甸县| 微山县| 江西省| 科技| 东乌| 巫溪县| 梨树县| 句容市| 宾川县| 长乐市| 东乡族自治县| 广宗县| 义马市| 区。| 郓城县| 同仁县| 蓬安县| 宜川县| 盐池县| 杨浦区| 沂南县| 五常市| 元氏县| 原阳县| 万年县| 河北区| 洪洞县|