Security

Firewall

SELinux

Error Message: <host> restorecond: Will not restore a file with more than one hard link (/etc/resolv.conf) Invalid argument

1) Find the inode for the file
# ls -i /etc/resolv.conf
7407405582 /etc/resolv.conf
2) Next, find the hard linked file
# find /etc -inum 7407405582
/etc/sysconfig/networking/profiles/default/resolv.conf
/etc/resolv.conf
3) Verify that the file is not currently in use
# lsof | grep resolv.conf
4) Remove the file
# rm /etc/sysconfig/networking/profiles/default/resolv.conf
5) Use restorecon
# restorecon /etc/resolv.conf
6) Recreate hard link
# ln /etc/resolv.conf /etc/sysconfig/networking/profiles/default/resolv.conf

File Transfer

SSH

Multiple tunnels using SSH ssh -L 1111:your.domain:80 -L 2222:your.domain:443 user@your.domain

links


Personal Tools
  • --> Export to PDF
  •