隐藏linux软件及内核版本

在登陆linux主机本地(非xshell或crt)前,会显示系统的版本和内核:

那么我们如何隐藏呢?如下:

1.清空版本及内核信息:

[root@bqh-01 ~]# cat /etc/issue

CentOS release 6.5 (Final)

Kernel \r on an \m

[root@bqh-01 ~]# cat /etc/issue.net

CentOS release 6.5 (Final)

Kernel \r on an \m

扫描二维码关注公众号,回复: 3798633 查看本文章

[root@bqh-01 ~]# >/etc/issue

麻痹糊弄版本及内核信息:

编辑/etc/motd文件即可

 

猜你喜欢

转载自www.cnblogs.com/su-root/p/9880483.html
今日推荐