Add sudo unlocking
This commit is contained in:
parent
9df1a35a04
commit
1aca0a96f3
@ -75,6 +75,29 @@ paru -S --rebuild=yes <package>
|
|||||||
|
|
||||||
## Various
|
## Various
|
||||||
|
|
||||||
|
### Unlock user after too many failed sudo attempts
|
||||||
|
|
||||||
|
Use `faillock` to check for failed sudo attempts
|
||||||
|
|
||||||
|
[shroot]
|
||||||
|
|
||||||
|
```
|
||||||
|
faillock --user <user>
|
||||||
|
```
|
||||||
|
|
||||||
|
[/shroot]
|
||||||
|
|
||||||
|
Unlock a locked account
|
||||||
|
[shroot]
|
||||||
|
|
||||||
|
```
|
||||||
|
faillock --user <user> --reset
|
||||||
|
```
|
||||||
|
|
||||||
|
[/shroot]
|
||||||
|
|
||||||
|
> [Unlock user after too many failed sudo attempts by Josh Sherman](https://joshtronic.com/2021/05/23/unlock-user-after-too-many-failed-sudo-attempts/)
|
||||||
|
|
||||||
### Overwrite disk with pseudorandom data
|
### Overwrite disk with pseudorandom data
|
||||||
|
|
||||||
Using openssl on CPUs with AES acceleration one can create pseudorandom data with high speeds.
|
Using openssl on CPUs with AES acceleration one can create pseudorandom data with high speeds.
|
||||||
|
Loading…
Reference in New Issue
Block a user