mirror of
https://github.com/IntenseWebs/servercode.git
synced 2025-02-25 18:55:26 -06:00
Add proxmox.txt and Update disks.txt
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
# https://devconnected.com/how-to-install-and-enable-ssh-server-on-debian-10/
|
||||
# ssh-keygen -t ed25519 -C "user@website.com"
|
||||
# ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "john@example.com"
|
||||
# Generate OpenSSH Private Key id_rsa and Public Key id_rsa.pub (4096, 7680, 15360)
|
||||
|
||||
@@ -13,3 +13,12 @@ if (false) {
|
||||
systemctl daemon-reload
|
||||
|
||||
# UPDATE HOST > REPOSITORIES - DISABLE BOTH ENTERPRISE REPOSITORIES & ADD pve-no-subscription
|
||||
|
||||
# DISABLE ROOT SSH REMOTE LOGIN - see 02-ssh-help.txt
|
||||
|
||||
# ENABLE INTEL IOMMU
|
||||
vi /etc/default/grub
|
||||
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
|
||||
|
||||
update-grub
|
||||
update-initramfs -u
|
||||
|
||||
@@ -23,54 +23,3 @@ passwd boringproxy
|
||||
su - boringproxy
|
||||
sudo usermod -a -G libvirt,kvm $USER
|
||||
|
||||
adduser --help
|
||||
adduser [--uid id] [--firstuid id] [--lastuid id]
|
||||
[--gid id] [--firstgid id] [--lastgid id] [--ingroup group]
|
||||
[--add-extra-groups] [--shell shell]
|
||||
[--comment comment] [--home dir] [--no-create-home]
|
||||
[--allow-all-names] [--allow-bad-names]
|
||||
[--disabled-password] [--disabled-login]
|
||||
[--conf file] [--quiet] [--verbose] [--debug]
|
||||
user
|
||||
Add a normal user
|
||||
|
||||
adduser --system
|
||||
[--uid id] [--group] [--ingroup group] [--gid id]
|
||||
[--shell shell] [--comment comment] [--home dir] [--no-create-home]
|
||||
[--conf file] [--quiet] [--verbose] [--debug]
|
||||
user
|
||||
Add a system user
|
||||
|
||||
adduser --group
|
||||
[--gid ID] [--firstgid id] [--lastgid id]
|
||||
[--conf file] [--quiet] [--verbose] [--debug]
|
||||
group
|
||||
addgroup
|
||||
[--gid ID] [--firstgid id] [--lastgid id]
|
||||
[--conf file] [--quiet] [--verbose] [--debug]
|
||||
group
|
||||
Add a user group
|
||||
|
||||
addgroup --system
|
||||
[--gid id]
|
||||
[--conf file] [--quiet] [--verbose] [--debug]
|
||||
group
|
||||
Add a system group
|
||||
|
||||
adduser USER GROUP
|
||||
-------------------------------------------------------------
|
||||
deluser --help
|
||||
deluser [--system] [--remove-home] [--remove-all-files] [--backup]
|
||||
[--backup-to dir] [--backup-suffix str] [--conf file]
|
||||
[--quiet] [--verbose] [--debug] user
|
||||
|
||||
remove a normal user from the system
|
||||
|
||||
deluser --group [--system] [--only-if-empty] [--conf file] [--quiet]
|
||||
[--verbose] [--debug] group
|
||||
delgroup [--system] [--only-if-empty] [--conf file] [--quiet]
|
||||
[--verbose] [--debug] group
|
||||
remove a group from the system
|
||||
|
||||
deluser [--conf file] [--quiet] [--verbose] [--debug] user group
|
||||
remove the user from a group
|
||||
|
||||
Reference in New Issue
Block a user