免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4771 | 回复: 19
打印 上一主题 下一主题

/etc/issue由哪个文件或程序调用? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-05 11:50 |只看该作者 |倒序浏览
为了安全我删除了/etc/issue文件,但每次重启后,这个文件都会存在,估计是系统重启时它自动由哪个文件或程序生成,请教

论坛徽章:
0
2 [报告]
发表于 2005-04-05 12:09 |只看该作者

/etc/issue由哪个文件或程序调用?

/etc/rc.d/rc.local

论坛徽章:
0
3 [报告]
发表于 2005-04-05 12:48 |只看该作者

/etc/issue由哪个文件或程序调用?

这也认为是这个,但
cat /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
4 [报告]
发表于 2005-04-05 12:59 |只看该作者

/etc/issue由哪个文件或程序调用?

login

论坛徽章:
0
5 [报告]
发表于 2005-04-05 15:52 |只看该作者

/etc/issue由哪个文件或程序调用?

??????????

论坛徽章:
0
6 [报告]
发表于 2005-04-05 16:14 |只看该作者

/etc/issue由哪个文件或程序调用?

[quote]原帖由 "寂寞烈火"]login[/quote 发表:

火哥的意思是说,你修改了/etc/issue以后,每次本机login的时候,都会看到你修改后的提示

/etc/issue.net是telnet的时候出现的

另外,如果你用com口连,用超级终端登陆,也是显示/etc/issue

论坛徽章:
0
7 [报告]
发表于 2005-04-05 16:19 |只看该作者

/etc/issue由哪个文件或程序调用?

想显示信息用/etc/motd不就行了.
/etc/issue会显示一些系统版本的信息.我如何才可以真正删除这个文件?

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
8 [报告]
发表于 2005-04-05 16:29 |只看该作者

/etc/issue由哪个文件或程序调用?

这是两个不同用途的文件
issue是当用户从文本模式登录系统后显示的系统信息
motd是管理员想用户发送的消息信息,(Message Of The Day)

论坛徽章:
0
9 [报告]
发表于 2005-04-05 16:32 |只看该作者

/etc/issue由哪个文件或程序调用?

你的概念有误
MOTD(5)                    Linux Programmer's Manual                   MOTD(5)

NAME
       motd - message of the day

DESCRIPTION
       The  contents of /etc/motd are displayed by login(1) after a successful
       login but just before it executes the login shell.

       The abbreviation "motd" stands for "message of the day", and this  file
       has  been  traditionally  used  for exactly that (it requires much less
       disk space than mail to all users).

FILES
       /etc/motd

SEE ALSO
       login(1), issue(5)

Linux                             1992-12-29                           MOTD(5)
ISSUE(5)                   Linux Programmer's Manual                  ISSUE(5)

NAME
       issue - pre-login message and identification file

DESCRIPTION
       The  file  /etc/issue is a text file which contains a message or system
       identification to be printed before the login prompt.  It  may  contain
       various @char and \char sequences, if supported by mingetty(1).

FILES
       /etc/issue

SEE ALSO
       mingetty(1), motd(5)

Linux                             1993-07-24                          ISSUE(5)
MINGETTY(8)                Linux Programmer's Manual               MINGETTY(8)

NAME
       mingetty - minimal getty for consoles

SYNOPSIS
       mingetty  [--noclear] [--nonewline] [--noissue] [--nohangup] [--nohost-
       name]    [--long-hostname]     [--loginprog=/bin/login]     [--nice=10]
       [--delay=5]  [--chdir=/home]  [--chroot=/chroot] [--autologin username]
       tty

DESCRIPTION
       mingetty is a minimal  getty  for  use  on  virtual  consoles.   Unlike
       agetty(8),  mingetty  is  not  suitable  for serial lines.  I recommend
       using mgetty(8) for this purpose.

OPTIONS
       --noclear
              Do not clear the screen before prompting for the login name (the
              screen is normally cleared).

       --nonewline
              Do not print a newline before writing out /etc/issue.

       --noissue
              Do not output /etc/issue.

很简单的问题让你搞的这么复杂!
如果删不掉,你修改一下不就完了!

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
10 [报告]
发表于 2005-04-05 16:35 |只看该作者

/etc/issue由哪个文件或程序调用?

原帖由 "platinum" 发表:

很简单的问题让你搞的这么复杂!
如果删不掉,你修改一下不就完了!

9494~~~
PS:版主94版主呀~ PFPF  
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP