Quantcast
Viewing latest article 29
Browse Latest Browse All 60

Why connecting to a VPN creates a new login from my local user?

When I work from home, I connect from my Linux machine to a VPN, via this command:

$ sudo openconnect --protocol=anyconnect -u usernameatwork --authgroup=MFA foo.bar.baz.work

which will require that I

  1. insert the password of my local user, simply because I'm running sudo,
  2. insert the password of my user in the VPN at work,
  3. confirm with another device because of MFA.

I've just noticed that

  • before step 1, who on my local machine tells me I'm the only one logged in my computer:
    myself   tty1         2025-01-14 17:47
  • right after step 1, who on my local machine tells me I've just logged in again:
    myself   tty1         2025-01-14 17:47myself   pts/2        2025-02-03 07:17

What is the meaning of the second line of the output?

I mean, I've connected to a VPN. Why does this mean I've re-logged in my own system?


Viewing latest article 29
Browse Latest Browse All 60

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>