12

I would like to run the updates available to my Ubuntu device with the built-in Software Updater application, but I would like to lock my system for the time of the update for security reasons. (Others can physically access my computer.)

I would like to know if that was possible? I am also interested in any solution using terminal, but I need to make sure that my user is locked during the update.

edit My question is not a duplicate, since the real question here is to know whether locking the screen still allows processes started by my user to run, or not. I lock my system on daily basis, have no problems with that. Please confirm if locking doesn't affect the execution of the updater application.

kiri
  • 28,986
gen
  • 253

1 Answers1

10

This shortcut locks your system:

Super+L

Locking the system does not affect running processes if they expect any interaction.

In the special case of a system update, queries may be limited, but not be totally excluded.

E.G.:

sudo apt-get --assume-yes update
Fabby
  • 35,017
A.B.
  • 92,125