Rohit Kotak
Rohit Kotak

Reputation: 305

How to use visudo command isndie openshift pod

I need to run visudo -c -f command from openshift pod terminal but when I run the command it says visudo command not found anyone here knows how to run those command without any issues. Do I need to install or configure any specific package with in the cluster?

TIA

Upvotes: 0

Views: 75

Answers (2)

titou10
titou10

Reputation: 2987

The pod is running what image? Obviously "visudo" is not par of the binary image you are using... Try to start a pod with an image where visudo is installed Nothing to do with OpenShift

Upvotes: 1

Raal
Raal

Reputation: 11

I think in openshift you do not have access directly to the platform. You might need to change is using RBAC

Upvotes: 0

Related Questions