diff options
| author | 2025-06-03 10:30:38 -0400 | |
|---|---|---|
| committer | 2025-06-03 10:30:38 -0400 | |
| commit | 68f39eb867c851acb651f79604aba119ecaa9527 (patch) | |
| tree | 856a3de46de8196736a8fd4c59395d7192aa8353 /hosts/moyo | |
| parent | a28487fe6fbac72c7b1a752acab42dcc6ab46476 (diff) | |
| download | dotfiles-68f39eb867c851acb651f79604aba119ecaa9527.tar.gz dotfiles-68f39eb867c851acb651f79604aba119ecaa9527.tar.bz2 dotfiles-68f39eb867c851acb651f79604aba119ecaa9527.zip | |
Add some gentoo stuff and update cgit
Diffstat (limited to 'hosts/moyo')
| -rw-r--r-- | hosts/moyo/fstab | 7 | ||||
| -rw-r--r-- | hosts/moyo/samba/smb.conf | 9 | ||||
| -rw-r--r-- | hosts/moyo/sshd_config | 7 |
3 files changed, 18 insertions, 5 deletions
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" |