azcopy issues

MARTIN, JOHN E 0 Reputation points
2024-09-16T17:09:38.6366667+00:00

when we are running azcopy, if we open a new session and try to sudo to root it will prompt for the password. If we stop the azcopy command we can login to root without password as normal.

Is this inherent to azcopy?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,869 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Luis Arias 6,796 Reputation points
    2024-09-16T19:23:29.2866667+00:00

    Hi MARTIN,

    The issue you’re experiencing with sudo requiring a password when AzCopy is running isn’t inherent to AzCopy itself but likely related to how your system handles processes and permissions. AzCopy might be locking resources or altering session management, affecting sudo. To troubleshoot(Would be great if you share the OS version, Kernel informaiton), ensure your system has enough resources, review AzCopy and system logs, and consider updating AzCopy. Additionally, examining environment variables set by AzCopy and creating a new key management session with keyctl new_session might help isolate the issue.

    References:

    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    Regards,

    Luis

    0 comments No comments

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.