We have a Production Server running (RHEL 6.5) .We have 2 sudo users and root user. For installing monitoring agents we should have root access but we have lost the root user password. Would anybody tell me how to reset the root user password without reboot because the server in production environment.
I think the last chance is to hack your own system if possible…
Search the web for an exploit then copy it to your server and compile it and execute it… However I think it’s the worst way especially for an operational and sensitive server therefore I prefer to reboot the server and bring it up in single user mode…
I don’t think that we can able to reset root password without reboot and I am damn sure isn’t any way. The only solution is to switch to single user mode and reset the root password