I had assigned a new task based on restrict direct root access permission for all app servers. I done it through some changes in /etc/passwd file. After i changed /bin/bash to /sbin/nologin it works, I can’t able to access the app server directly by using root user. But the task was failed. What is the mistake i done here? Please help me. Also find the attached screenshot.
Muthu Kumar M.,