Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee
Showing posts with label Fedora. Show all posts
Showing posts with label Fedora. Show all posts

Monday, November 2, 2020

RHEL 7 uses system temp files to

November 02, 2020
RHEL 7 uses system temp files to
 Managing temporary files with systemd-tmpfiles on Red HatWhy the files in /tmp directory gets deleted periodically For CentOS/RHEL7cd /usr/lib/tmpfiles.d/tmp.conf# cat /usr/lib/tmpfiles.d/tmp.conf # Clear tmp directories separately, to make them easier to override v /tmp 1777 root root 10d v /var/tmp 1777 root root 30d # Exclude namespace mountpoints...

Monday, October 28, 2019

How to Reset/Recover/Forget Root Password in CentOS/RHEL/Fedora and VM/KVM

October 28, 2019
How to Reset/Recover/Forget Root Password in CentOS/RHEL/Fedora and VM/KVM
Note : Take Backup of your data before you proceedMethod 1 - (CentOS/RHEL/Fedora)Step1 :- Restart the Machine Step2 :- Press "e" from keyboard at time when kernel versions presented Press "e" again Step3 :- Search for "rd.break" line (last line of Linux16) or write next to rw file (rw init=/sysroot/bin/sh) Step4 :- Press Ctrl+X(control+x) to start on single...

Tuesday, October 22, 2019

How to Generate/Encrypt/Decrypt Random Passwords on CentOS/RHEL & Fedora

October 22, 2019
How to Generate/Encrypt/Decrypt Random Passwords on CentOS/RHEL & Fedora
  (adsbygoogle = window.adsbygoogle || []).push({});  1. Generate a random unique password of length equal to 10 characters Step1 :-  yum install pwgen Step2 :-  pwgen 10 1 Step3 :-  pwgen 50 Step4 :- yum install expect Step5 :- yum –y install makepasswd    --- As per choice Step6 :- makepasswd                      ...