question

ShubhamSingh-5759 avatar image
0 Votes"
ShubhamSingh-5759 asked ShubhamSingh-5759 answered

How to disable copy/paste in azure ubuntu machine?

I want to disable, copy paste option disable for azure Ubuntu 20. User cannot copy from VM and also cannot paste into VM.

Can anyone have any suggestions??

azure-virtual-machines
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ShubhamSingh-5759,
As we are mainly responsible for Microsoft Teams in Linux system, your question is not in our scope. I will remove the irrelated tag. Thanks for your understanding.

1 Vote 1 ·
ChristopherW-MSFT avatar image
0 Votes"
ChristopherW-MSFT answered

Hi @ShubhamSingh-5759 ,

If your access is SSH then it may not be possible - you can only disable Copy + Paste at the client terminal level like PuTTY configuration, the text is presented to the terminal client and wouldn't be restricted after it's presented.

You would need to manage and configure each SSH Client to not allow Copy + Paste. If the concern is to protect data, then you will want to avoid presenting any protected information through the terminal session and to specific users you don't want displayed to.

For Copy + Paste in a Desktop environment, typically this is controlled by a 'Clipboard' feature, and can sometimes be disabled but is determined by that specific service.
As an example, you can try starting an XRDP session with the Clipboard disabled with: rdesktop -r clipboard:off XRDPSERVER

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ShubhamSingh-5759 avatar image
0 Votes"
ShubhamSingh-5759 answered

Hello @ChristopherW-MSFT ,

I want to disable copy/paste option in GUI for Ubuntu 20. I am accessing GUI via RDP. For this I have install xrdp in Ubuntu.

The command which you have provide "rdesktop -r clipboard:off XRDPSERVER" will this work?

Help me on this.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.