From 68f39eb867c851acb651f79604aba119ecaa9527 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Tue, 3 Jun 2025 10:30:38 -0400 Subject: Add some gentoo stuff and update cgit --- hosts/moyo/fstab | 7 +++++++ hosts/moyo/samba/smb.conf | 9 ++++----- hosts/moyo/sshd_config | 7 +++++++ 3 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 hosts/moyo/fstab create mode 100644 hosts/moyo/sshd_config (limited to 'hosts/moyo') diff --git a/hosts/moyo/fstab b/hosts/moyo/fstab new file mode 100644 index 0000000..29b6c66 --- /dev/null +++ b/hosts/moyo/fstab @@ -0,0 +1,7 @@ +/dev/moyo-vg0/root / ext4 noatime 0 1 +UUID="879D-5154" /boot vfat defaults,noatime 0 2 +/dev/moyo-vg0/swap none swap sw 0 0 + +tmpfs /var/tmp/portage tmpfs size=6G,uid=portage,gid=portage,mode=775 0 0 + +#hugetlbfs /hugepages hugetlbfs mode=1770,gid=100 0 0 diff --git a/hosts/moyo/samba/smb.conf b/hosts/moyo/samba/smb.conf index 5781f4f..8a928a0 100644 --- a/hosts/moyo/samba/smb.conf +++ b/hosts/moyo/samba/smb.conf @@ -10,21 +10,20 @@ log file = /var/log/samba/log.%m max log size = 50 passdb backend = tdbsam - allow insecure wide links = yes + allow insecure wide links = no kernel oplocks = yes - socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=32768 SO_SNDBUF=32768 getwd cache = true acl allow execute always = yes ea support = yes store dos attributes = yes [samba] - comment = code + comment = sharing with windows path = /srv/nfs/samba valid users = andrew guest ok = no browseable = yes writable = yes public = no - follow symlinks = yes - wide links = yes + follow symlinks = no + wide links = no diff --git a/hosts/moyo/sshd_config b/hosts/moyo/sshd_config new file mode 100644 index 0000000..91fe201 --- /dev/null +++ b/hosts/moyo/sshd_config @@ -0,0 +1,7 @@ +PermitRootLogin no +PubkeyAuthentication yes +PasswordAuthentication no +PermitEmptyPasswords no +KbdInteractiveAuthentication no +Subsystem sftp /usr/lib64/misc/sftp-server +Include "/etc/ssh/sshd_config.d/*.conf" -- cgit v1.2.3-101-g0448