咨询电话:010-82823766

终端无法login,请指点!多谢了
  • 2007-12-31 1:44:50
  • 发表时间:
  • 浏览次数:
  • 不详
  • 文章来源:
  • 佚名
  • 作者:


我有一台K370主机,不晓得什么原因根目录满。清理根目录到96%后,可以完成作业。但是无法从本机终端login,从别的远程终端都可以login。显示信息是No utmp entry. You must exec "login" from the lowest level "sh". 请问,我能否在不影响作业运行的前提下面,解决这个问题?

 jinhg 回复于:2002-07-17 18:42:19
建一个空的utmp文件

 albert 回复于:2002-07-17 18:44:24
从别的远程终端rlogin到你的主机上,然后尝试下面的操作。
# mv /etc/utmp /etc/utmp.bad 
# touch /etc/utmp 
# vi /etc/inittab 
==> change the line that has 
cons:123456:respawn .... 
to 
cons:123456ff ..... 
# init q 
# vi /etc/inittab 
==> change the previous line that you've edit back to what it was before .. 
cons:123456:respawn ... 
# init q 
如果还不行。

你可以到下列网址查找相关信息。
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xac6d7e990647d4118fee0090279cd0f9,00.html

 eila 回复于:2002-07-18 10:50:39
多谢楼上两位指点,现在好了,谢谢。:)

top
推荐导读
推荐导读
bottom
top
热门文章
热门文章
bottom