title: How to logon as non-root user in Kubernetes pod/container
body: <p>I am trying to log into a kubernetes pod using the kubectl exec command. I am successful but it logs me in as the root user. I have created some other users too as part of the system build. </p>
  
  <p>Command being used is "kubectl exec -it  /bin/bash". I guess this means that run /bin/bash on the pod which results into a shell entry into the container.</p>
  
  <p>Can someone please guide me on the following -</p>
  
  <ol>
  <li>How to logon using a non-root user?</li>
  <li>Is there a way to disable root user login?</li>
  <li>How can I bind our organization's ldap into the container?</li>
  </ol>
  
  <p>Please let me know if more information is needed from my end to answer this?</p>
  
  <p>Thanks,</p>
  
  <p>Anurag</p>