By mistake I deleted /usr/bin, but was able to recover.
On of the few things missing is to set the file properties of selinux permissions right.
Currently, selinux is disbaled.
ls --lcontext provides this
-rwxr-xr-x 1 ? root root 155264 Dec 16 20:58 cp
How can I set this correctly?
THanks, Wolfgang
Recovering system...
Re: Recovering system...
You'll need to turn selinux back on and put it in permissive mode first. Once you've booted in permissive mode, touch /.autorelabel;reboot and then wait while it relabels the filesystem.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 133
- Joined: 2016/11/20 11:58:45
Re: Recovering system...
Thank you very much Trevor.
Well I guess it is now time to get a grip on selinux next...
Wolfgang
Well I guess it is now time to get a grip on selinux next...
Wolfgang