vwbusguy,
@vwbusguy@mastodon.online avatar

@itsfoss I was migrating a server and went to change the docroot owner from apache to nginx. I meant to run:

chown -R nginx:nginx ./

What I actually ran was:

chown -R nginx:nginx /

This broke ssh and sudo. I was eventually able to recover it by getting into a recovery and reinstalling every rpm and manually fixing /etc leftovers from there. It was an early cloud server, so I didn't have physical access. This was back when support was worth the premium you paid for it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux
  • modclub
  • DreamBathrooms
  • osvaldo12
  • GTA5RPClips
  • ngwrru68w68
  • magazineikmin
  • everett
  • Youngstown
  • slotface
  • rosin
  • mdbf
  • kavyap
  • tacticalgear
  • InstantRegret
  • JUstTest
  • Durango
  • cubers
  • khanakhh
  • ethstaker
  • thenastyranch
  • Leos
  • normalnudes
  • tester
  • cisconetworking
  • anitta
  • megavids
  • provamag3
  • lostlight
  • All magazines