怎样修改SUN的主机名!

weixin_38050648 weixin_38050648 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

小弟修改了/etc/hosts,但是不起作用。

后来又在root用户下执行“hostname xxx”修改,当时是成功了,但是机器重起之后主机名又会变成原来的名字。

当我用命令行修改主机名成功之后,在SUN本机图形界面上如果logout再重新login的话,就会提示错误:

标题:Action Required
内容:
The DT messaging system could not be started.

To correct the problem:

1.Choose [OK] to retun the login screen.

2.Select Failsafe Session from the login screen's option menu and login.

3.Check to see that the hostname is correct in these locations:
  /etc/src.sh
  /etc/hosts
  /usr/adm/inetd.sec
  
For additional information, see the DT User's Guide.
...全文
评论 9
收藏 已收藏
分享
返回顶部