Tag Archives: SU: /BIN/BASH: PERMISSION DENIED

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
weblogic@vmxbt01:/>

Can switch