- Change User Password
- Change Hostname
- Enable SSH
- Change Time-Zone
sudo timedatectl
- Memory Spit
sudo raspi-config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* start the SSH service with systemctl | |
sudo systemctl enable ssh | |
sudo systemctl start ssh | |
sudo systemctl restart sshd | |
* Allow Or Deny SSH Access To A Particular User Or Group In Linux | |
sudo nano /etc/ssh/sshd_config | |
* Add or edit the following line: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------------- | |
# Create Self signed root certificate | |
# -dnsname -DnsName domain.example.com,anothersubdomain.example.com | |
# -Subject "CN=Patti Fuller,OU=UserAccounts,DC=corp,DC=contoso,DC=com" | |
$cert = New-SelfSignedCertificate -Type Custom -KeySpec Signature ` | |
-Subject "CN=P2SRootCert" ` | |
-KeyExportPolicy Exportable ` | |
-HashAlgorithm sha256 -KeyLength 4096 ` | |
-CertStoreLocation "Cert:\CurrentUser\My" ` | |
-KeyUsageProperty Sign ` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SMB Check v0.3 | |
# By Romel Vera (https://www.github.com/RomelSan) | |
# This tool checks and enforces SMB v3 basic security | |
# License: MIT | |
# Build: December 8, 2017 | |
#=========================================================================== | |
# Check Admin | |
#=========================================================================== | |
function Test-IsAdmin { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SMB Security v0.3 | |
# By Romel Vera (https://www.github.com/RomelSan) | |
# Enforce SMB v3 basic security | |
# License: MIT | |
# Build: December 8, 2017 | |
# Check SMB Server Configuration: | |
Get-SmbServerConfiguration | | |
select EnableSMB1Protocol, EnableSMB2Protocol, EncryptData, RejectUnencryptedAccess, RequireSecuritySignature |
I hereby claim:
- I am romelsan on github.
- I am romel (https://keybase.io/romel) on keybase.
- I have a public key ASD7DbdEmxcIYcbwCQna5T58VtETEYd9ZAOfxzVwhvXeSAo
To claim this, I am signing this object:
NewerOlder