1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 15:53:34 +02:00

loginctl: add user logout example (#15036)

* Update loginctl.md

* Update pages/linux/loginctl.md

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>

---------

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
This commit is contained in:
Managor 2024-12-12 08:43:01 +02:00 committed by GitHub
parent 005dceadc0
commit b490b82683
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,3 +22,7 @@
- Execute a `loginctl` operation on a remote host: - Execute a `loginctl` operation on a remote host:
`loginctl list-users -H {{hostname}}` `loginctl list-users -H {{hostname}}`
- Log a user out on all of their sessions:
`loginctl terminate-user {{username}}`