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,246
  • 16
  • 81
  • 118
gen
  • 253
  • 2
  • 3
  • 6

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
  • 34,259
A.B.
  • 90,397
  • 3
    You should say "locks your desktop"... Because the system can be accessed in other ways (TTY, SSH, ...) – s3lph Apr 07 '15 at 16:36
  • 1
    please see the edit to my question and confirm if locking is useful in this case – gen Apr 07 '15 at 17:45
  • Perhaps you may want to consider in advance what your question is. – A.B. Apr 07 '15 at 18:05