Highlighted
  • 905 Views

PERMISSION

IF WE GIVE chmod 000 / after restart server

how we turn on server

0 Kudos
6 Replies
Highlighted
Flight Engineer Flight Engineer
Flight Engineer
  • 897 Views

Re: PERMISSION

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
Reply
Loading...
Highlighted
Flight Engineer Flight Engineer
Flight Engineer
  • 875 Views

Re: PERMISSION

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

0 Kudos
Reply
Loading...
Highlighted
  • 823 Views

Re: PERMISSION

can you tell me the process or step to solve this pblm
0 Kudos
Reply
Loading...
Highlighted
Flight Engineer Flight Engineer
Flight Engineer
  • 761 Views

Re: PERMISSION

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
Reply
Loading...
Highlighted
Flight Engineer Flight Engineer
Flight Engineer
  • 847 Views

Re: PERMISSION

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
Reply
Loading...
Highlighted
Flight Engineer Flight Engineer
Flight Engineer
  • 754 Views

Re: PERMISSION

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!

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