Similar Posts

Leave a Reply

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

3 Comments

  1. It does not at all mean what it says. “This account is unavailable because no valid shell was configured” would be significantly clearer

  2. I have done this for ubuntu user and there is no other user for the ec2 instance. And now I am not able to login. Is there a way to restore ec2 instance to previous state.

  3. I found this article very helpful. Thankyou

    I just added the ‘-s /bin/bash’ flag because I only need temporary access to the account.

    su -s /bin/bash – nagios