SU: /BIN/BASH: PERMISSION DENIED [How to Solve]

Today, I used the root user to switch the weblogic user and reported the following error

vmxbt01:/home/weblogic # su weblogic
su: /bin/bash: Permission denied

Finally, I checked the bin permissions as follows

 

Found that the permissions are not enough, after granting permissions chmod 755 /bin

 

Switch weblogic user again after having permission

vmxbt01:/ # su weblogic
[email protected]:/>

Can switch

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *