Am not able to login as root in cloud shell , I reset the AD password still not able to login as root

Rajkumar 5 Reputation points
2023-03-13T06:28:36.99+00:00
 sudo su 

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for  xxxx: 
Sorry, try again.
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Akshay-MSFT 17,961 Reputation points Microsoft Employee Moderator
    2023-03-14T06:57:04.2633333+00:00

    Hello @Rajkumar

    Thank you for posting your query on Microsoft Q&A. The behavior you are getting is expected by design. This is because as per Azure Cloud Shell User permissions

    Permissions are set as regular users without sudo access. Any installation outside your $Home directory isn't persisted.

    For other similar issues kindly refer to Limitations of Azure Cloud Shell.

    Please do let me know if you have any further queries in the comments section.

    Thanks,

    Akshay Kaushik

    Please "Accept the answer" (Yes/No), and share your feedback if the suggestion does answer your query. This will help us and others in the community as well.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.