2016年6月17日

rhel7网络管理

摘要: 实验-禁用网卡命名规则: 在GRUB_CMDLINE_Linux=“rd.lvm.lv=rhel/root vconsole.keymap=us vconsole.font=latarcyheb-sunl6 crashkernel=auto rhgb quiet net.ifnames=0 bios 阅读全文

posted @ 2016-06-17 14:37 明明叨叨 阅读(471) 评论(0) 推荐(0) 编辑

rhel7防止开机破密码

摘要: 在/etc/grub.d/00_header文件结尾加入 cat <<EOF set superusers=“qin”#用户名称可以更加自身编辑 password qin bing EOF grub2-mkconfig -o /boot/grub2/grub.cfg 重启后需要输入帐号grub2qin和密码grub2bing方可进入编辑模式 阅读全文

posted @ 2016-06-17 14:36 明明叨叨 阅读(205) 评论(0) 推荐(0) 编辑

rhel7系统破root开机密码

摘要: 破密码: 开机菜单栏第一栏按e,在linux16行尾,加入rd.break console=tty0 ctrl +x继续启动 mount -o remount,rw /sysroot #重新挂载sysroot chroot /sysroot #挂载根到实际root下 passed #设置密码 touch /.autorelabel #重新建立打标文件 exit #退出 exit #... 阅读全文

posted @ 2016-06-17 14:33 明明叨叨 阅读(556) 评论(0) 推荐(0) 编辑

导航