An employee accidental recursively changed permissions from the root directory to apache. I reran it to root, we fixed MySQL, but SSH still doesn't work. What is the correct way to restore the ownership for sshd?
Asked
Active
Viewed 279 times
1 Answers
1
If you just want to restore the permissions for sshd the command would be:
rpm --setugids openssh-server
From the manual:
rpm --setugids PACKAGE_NAMEsets user/group ownership of files in the given package..
HBruijn
- 84,206
- 24
- 145
- 224