Linux ih01.iridiumhosting.com 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
LiteSpeed
Server IP : 67.227.241.211 & Your IP : 216.73.216.208
Domains :
Cant Read [ /etc/named.conf ]
User : dustinhy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
MXB /
rear /
usr /
share /
rear /
restore /
YUM /
default /
Delete
Unzip
Name
Size
Permission
Date
Action
100_mount_YUM_path.sh
140
B
-rw-r--r--
2026-04-01 09:39
400_restore_packages.sh
10.62
KB
-rw-r--r--
2026-04-01 09:39
403_binds_for_selinux.sh
772
B
-rw-r--r--
2026-04-01 09:39
405_recreate_users_and_groups.sh
5.05
KB
-rw-r--r--
2026-04-01 09:39
410_restore_backup.sh
17.24
KB
-rw-r--r--
2026-04-01 09:39
600_restore_selinux_contexts.sh
1.81
KB
-rw-r--r--
2026-04-01 09:39
940_generate_fstab.sh
5
KB
-rw-r--r--
2026-04-01 09:39
950_grub2_mkconfig.sh
2.17
KB
-rw-r--r--
2026-04-01 09:39
950_grub_mkconfig.sh
1.93
KB
-rw-r--r--
2026-04-01 09:39
970_set_root_password.sh
2.14
KB
-rw-r--r--
2026-04-01 09:39
980_initial_network_setup.sh
3.38
KB
-rw-r--r--
2026-04-01 09:39
980_umount_YUM_dir.sh
154
B
-rw-r--r--
2026-04-01 09:39
Save
Rename
# Copied from ../../ZYPPER/default/970_set_root_password.sh for YUM # # restore/YUM/default/970_set_root_password.sh # 970_set_root_password.sh is a finalisation script (see restore/readme) # that sets the initial root password in the target system # after the files have been restored into the target system # so that the 'passwd' executable can be called inside the target system # to avoid a 'passwd' executable is needed in the ReaR recovery system. # This initial root password should not be the actually intended root password # because its value is stored in usually insecure files (e.g. /etc/rear/local.conf) # which are included in the ReaR recovery system that is stored # in also usually insecure files (like ISO images e.g. rear-HOSTNAME.iso) # so that the actually intended root password for the target system # should be set manually by the admin after "rear recover". # # Try to care about possible errors # see https://github.com/rear/rear/wiki/Coding-Style set -e -u -o pipefail # As fallback use 'root' as root password in the target system. # A non-empty fallback is needed because 'passwd' does not accept empty input: { local root_password="root" # If SSH_ROOT_PASSWORD is specified used that as root password in the target system: test "$SSH_ROOT_PASSWORD" && root_password="$SSH_ROOT_PASSWORD" # If YUM_ROOT_PASSWORD is specified used that as root password in the target system: test "$YUM_ROOT_PASSWORD" && root_password="$YUM_ROOT_PASSWORD" } 2>>/dev/$SECRET_OUTPUT_DEV # Set the root password in the target system. # Use a login shell in between so that one has in the chrooted environment # all the advantages of a "normal working shell" which means one can write # the commands inside 'chroot' as one would type them in a normal working shell. # In particular one can call programs (like 'passwd') by their basename without path # cf. https://github.com/rear/rear/issues/862#issuecomment-274068914 { run_in_chroot "echo -e '$root_password\n$root_password' | passwd root" ; } 2>>/dev/$SECRET_OUTPUT_DEV # Restore the ReaR default bash flags and options (see usr/sbin/rear): apply_bash_flags_and_options_commands "$DEFAULT_BASH_FLAGS_AND_OPTIONS_COMMANDS"