Boot off Tails USB
Enable admin password
Unlock persistent storage
Boot off Tails USB
Enable admin password
Unlock persistent storage
I hereby claim:
To claim this, I am signing this object:
Original post : https://unix.stackexchange.com/a/310699
nmcli con add type wifi ifname wlp4s0 con-name Hostspot autoconnect yes ssid Hostspot
nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234"
#!/usr/bin/env python | |
# Copyright 2015-present Palo Alto Networks, Inc | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
awk -F, '/sendmail.*authid=/{print $3}' maillog maillog.1 | sort -u | wc -l | |
788 |
type=Single | |
ptype=RegExp | |
pattern=one | |
desc=one_matched | |
action=event NEED_BOP | |
type=Single | |
ptype=RegExp | |
pattern=two | |
desc=two_matched |
1006 grep from=bob.erb maillog | |
1015 grep s7M7KPDf002853 maillog | less | |
1017 grep 107-1-157-130-ip-static.hfc.comcastbusiness.net maillog | less | |
Aug 22 03:20:25 vm-emlprdomg-03 sendmail[2852]: AUTH=server, relay=107-1-157-130-ip-static.hfc.comcastbusiness.net [107.1.157.130], authid=xxxx6, mech=LOGIN, bits=0 |
curl http://localhost:8080/api/add \ | |
-X POST \ | |
-H 'Content-Type: application/json' \ | |
-d '{"hostname": gilda, "criticality": 1, "description": "made a change", "user": "misc", "body": "cli test"}' |
$ du -hs maillog* | |
8.6G maillog.1 | |
8.6G maillog.1a | |
$ time gzip -9 maillog.1 | |
real 3m37.652s | |
user 3m28.382s | |
sys 0m5.502s |
Current pps mailers: | |
Msmtp, P=[IPC], F=mDFMuX, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=0, | |
T=DNS/RFC822/SMTP, | |
A=TCP $h | |
Mesmtp, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=0, | |
T=DNS/RFC822/SMTP, | |
A=TCP $h | |
Msmtp8, P=[IPC], F=mDFMuX8, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=0, | |
T=DNS/RFC822/SMTP, |