]> git.plutz.net Git - bootimage/commitdiff
config for Laptop nis client
authorPaul Hänsch <paul@plutz.net>
Wed, 4 Jul 2018 11:49:54 +0000 (13:49 +0200)
committerPaul Hänsch <paul@plutz.net>
Wed, 4 Jul 2018 11:49:54 +0000 (13:49 +0200)
config.mk
config_nis/etc/apt/sources.list [new file with mode: 0644]
config_nis/etc/default/nis [new file with mode: 0644]
config_nis/etc/defaultdomain [new file with mode: 0644]
config_nis/etc/nsswitch.conf [new file with mode: 0644]
config_nis/etc/yp.conf [new file with mode: 0644]
config_nis/var/spool/cron/crontabs/root [new file with mode: 0644]

index e9834029493d2311c295e38c3a191b9fb3f4e67a..89de6059e79fea94e091165d3a0b07a53509ef02 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -2,12 +2,14 @@ USER := user
 PASS := user
 GROUPS := sudo
 
-ARCH := i386
-CONFIG := config_base/
+ARCH := amd64
+CONFIG := config_base/ config_nis/
 
 ## Kernel Package is not in defaults
-# PACKAGES := ${PACKAGES} linux-image-amd64
-PACKAGES := ${PACKAGES} linux-image-686
+PACKAGES := ${PACKAGES} linux-image-amd64
+# PACKAGES := ${PACKAGES} linux-image-686
+
+PACKAGES := ${PACKAGES} nis rpcbind network-manager firmware-iwlwifi
 
 ## Overall XFCE Desktop
 # PACKAGES := ${PACKAGES} alsa-utils ark blueman breeze-icon-theme chromium cryptsetup cups-client dosfstools dvd+rw-tools dvdauthor eject exfat-fuse exfat-utils file firmware-linux-free gnome-keyring gparted gtk3-engines-breeze gvfs-backends gvfs-fuse gwenview k3b k3b-i18n kbd kde-l10n-de kde-spectacle kde-style-breeze kde-style-breeze-qt4 leafpad libgl1-mesa-dri locales lvm2 mdadm mesa-utils ntfs-3g okular pavucontrol plymouth plymouth-themes policykit-1 policykit-1-gnome pulseaudio pulseaudio-module-bluetooth recordmydesktop thunar-volman va-driver-all vdpau-driver-all vlc x11-xserver-utils x264 xauth xdotool xfce4 xfce4-terminal xfce4-whiskermenu-plugin xscreensaver xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-wacom xserver-xorg-video-all zenity
diff --git a/config_nis/etc/apt/sources.list b/config_nis/etc/apt/sources.list
new file mode 100644 (file)
index 0000000..0ddd9d7
--- /dev/null
@@ -0,0 +1,2 @@
+deb http://deb.debian.org/debian stretch main non-free
+deb http://security.debian.org/ stretch/updates main
diff --git a/config_nis/etc/default/nis b/config_nis/etc/default/nis
new file mode 100644 (file)
index 0000000..cdd8395
--- /dev/null
@@ -0,0 +1,8 @@
+NISSERVER=true
+NISCLIENT=true
+YPPWDDIR=/etc
+YPCHANGEOK=chsh
+NISMASTER=jupiter
+YPSERVARGS=
+YPBINDARGS=-no-dbus
+YPXFRDARGS=
diff --git a/config_nis/etc/defaultdomain b/config_nis/etc/defaultdomain
new file mode 100644 (file)
index 0000000..4083037
--- /dev/null
@@ -0,0 +1 @@
+local
diff --git a/config_nis/etc/nsswitch.conf b/config_nis/etc/nsswitch.conf
new file mode 100644 (file)
index 0000000..2dbfe6d
--- /dev/null
@@ -0,0 +1,20 @@
+# /etc/nsswitch.conf
+#
+# Example configuration of GNU Name Service Switch functionality.
+# If you have the `glibc-doc-reference' and `info' packages installed, try:
+# `info libc "Name Service Switch"' for information about this file.
+
+passwd:         nis compat
+group:          nis compat
+shadow:         nis compat
+gshadow:        nis files
+
+hosts:          files dns
+networks:       files
+
+protocols:      db files
+services:       db files
+ethers:         db files
+rpc:            db files
+
+netgroup:       nis
diff --git a/config_nis/etc/yp.conf b/config_nis/etc/yp.conf
new file mode 100644 (file)
index 0000000..1646469
--- /dev/null
@@ -0,0 +1 @@
+ypserver       jupiter 
diff --git a/config_nis/var/spool/cron/crontabs/root b/config_nis/var/spool/cron/crontabs/root
new file mode 100644 (file)
index 0000000..5330215
--- /dev/null
@@ -0,0 +1 @@
+*/10 * * * *   /usr/lib/yp/ypinit -s jupiter && systemctl restart nis