Shubham1612
Cadet
Cadet
  • 1,281 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
  • 1,273 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...
Razique
Flight Engineer Flight Engineer
Flight Engineer
  • 1,251 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...
Shubham1612
Cadet
Cadet
  • 1,199 Views

Re: PERMISSION

can you tell me the process or step to solve this pblm
0 Kudos
Reply
Loading...
Razique
Flight Engineer Flight Engineer
Flight Engineer
  • 1,137 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...
Acetech
Flight Engineer Flight Engineer
Flight Engineer
  • 1,223 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...
EchoCharlie
Flight Engineer Flight Engineer
Flight Engineer
  • 1,130 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.