English
`[ 170.171135] sd 5:0:0:0: [sdb] Attached SCSI removable disk`
# mkdir usb
# cd /mnt/usb
# cp /tmp/*log /mnt/usb
# umount /mnt/usb
# scp *log user@address:path
# scp *log john@192.168.0.122:/home/john/logs/
`The authenticity of host '192.168.0.122 (192.168.0.122)' can't be established.`
`ECDSA key fingerprint is a4:60:76:eb:b2:d0:aa:23:af:3d:59:5c:de:bb:c4:42.`
`Are you sure you want to continue connecting (yes/no)?`
`init=/bin/sh`
pass:quotes[`sh-4.2#`]
sh4.2# mount -o remount,rw /
sh4.2# passwd root
sh4.2# mount -o remount,ro /
GRUB_CMDLINE_LINUX="rd.lvm.lv=rhel/root rd.md=0 rd.dm=0 vconsole.keymap=us $([ -x /usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param || :) rd.luks=0 vconsole.font=latarcyrheb-sun16 rd.lvm.lv=vg_rhel/swap rhgb quiet"
# grub2-mkconfig --output=/boot/grub2/grub.cfg
# systemctl set-default graphical.target
# systemctl set-default multi-user.target
mem=pass:attributes[{blank}]_xx_pass:attributes[{blank}]M
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release.*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=rhel/root vconsole.font=latarcyrheb-sun16 rd.lvm.lv=rhel/swap $([ -x /usr/sbin/rhcrashkernel.param ] && /usr/sbin/rhcrashkernel-param || :) vconsole.keymap=us rhgb quiet mem=1024M"
GRUB_DISABLE_RECOVERY="true"