IF WE GIVE chmod 000 / after restart server
how we turn on server
chmod 000 will make the file/s readable only by root.
You need to provide more details.
if you did something like chmod -R 000 / then you probably need to boot with an installation media and change the permissions to its original state (for the files managed by RPM it will be easy for others impossible unless you know).
Where you root when you ran the command? What do you see on the screen when you reboot the server?
Hey, I'm not sure I understand the issue.
So, you run a "chmod 000 /" by mistake, and the server no longer boots, is that correct? What do you see on the screen?
Root having high power if you provide 000 permission as well then also root can access it root don't need permssion to do this
If you haven't fixed this yet, you could try this:
for p in $(rpm -qa); do rpm --setperms $p; done
It would go through all installed rpm packages and set permissions back to what the rpm originally provided. Good Luck!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.