Squash three commit branch and update remote branch.
$ git checkout feature_branch
$ git rebase -i HEAD~3
# Choose `pick` for the base.
# Choose `squash` for all others
$ git push -f
List all attached storage devices:
$ sudo blkid
Add/Remove partitions
$ fdisk /dev/sda
Make a filesystem!
$ mkfs -t ext4 /dev/sda
Default .conf location: /etc/samba/smb.conf
$ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Loaded services file OK.
Server role: ROLE_STANDALONE
...
$ smbtree
WORKGROUP
\\etc....
sudo smbpasswd -a <user>
security = user
indicates all those that connect must be users on the server.
security = share
still requires authentication deprecated
Functional similarity to security = share
:
security = user
map to guest = Bad User
$ systemctl enable --now smbd.socket
# After editing /etc/samba/smb.conf
$ systectl restart smbd