凝思6.0虚拟机搭建--遇到的问题

1、系统默认不允许root用户登录

解决办法:( 验证无效 )
1)修改/etc/default/grub,修改GRUB_DEFAULT=2为=0,然后执行命令update-grub

2、root用户执行ping,提示operation not permitted,但从其他机器可以ping通该虚拟机。

解决办法:( 已验证,方法OK )
1) 编辑/etc/sysctl.conf 文件,关闭禁ping模式,net.ipv4.icmp_echo_ignore_all = 0 //改为0即为关闭禁ping,1为开启禁ping
2)修改/etc/default/grub,注释掉GRUB_CMDLINE_LINUX=“linx_serial=security=linx”
3)执行update-grub
如果不行则重启虚拟机试试。

猜你喜欢

转载自www.cnblogs.com/21summer/p/10028455.html
今日推荐