cancel
Showing results for 
Search instead for 
Did you mean: 
  • 3,161 Views

PERMISSION

IF WE GIVE chmod 000 / after restart server

how we turn on server

0 Kudos
6 Replies
Raul1
Flight Engineer Flight Engineer
Flight Engineer
  • 3,153 Views

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).

0 Kudos
Razique
Flight Engineer Flight Engineer
Flight Engineer
  • 3,131 Views

Where you root when you ran the command? What do you see on the screen when you reboot the server?

0 Kudos
  • 3,079 Views

can you tell me the process or step to solve this pblm
0 Kudos
Razique
Flight Engineer Flight Engineer
Flight Engineer
  • 3,017 Views

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?

0 Kudos
Acetech
Flight Engineer Flight Engineer
Flight Engineer
  • 3,103 Views

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

Akash S. Solanke
0 Kudos
EchoCharlie
Flight Engineer Flight Engineer
Flight Engineer
  • 3,010 Views

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!

Join the discussion
You must log in to join this conversation.