From: Paul Hänsch Date: Wed, 4 Jul 2018 11:49:54 +0000 (+0200) Subject: config for Laptop nis client X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=8508578fdefb72506abcf88cc0252bbd700fa8de;p=bootimage config for Laptop nis client --- diff --git a/config.mk b/config.mk index e983402..89de605 100644 --- 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 index 0000000..0ddd9d7 --- /dev/null +++ b/config_nis/etc/apt/sources.list @@ -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 index 0000000..cdd8395 --- /dev/null +++ b/config_nis/etc/default/nis @@ -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 index 0000000..4083037 --- /dev/null +++ b/config_nis/etc/defaultdomain @@ -0,0 +1 @@ +local diff --git a/config_nis/etc/nsswitch.conf b/config_nis/etc/nsswitch.conf new file mode 100644 index 0000000..2dbfe6d --- /dev/null +++ b/config_nis/etc/nsswitch.conf @@ -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 index 0000000..1646469 --- /dev/null +++ b/config_nis/etc/yp.conf @@ -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 index 0000000..5330215 --- /dev/null +++ b/config_nis/var/spool/cron/crontabs/root @@ -0,0 +1 @@ +*/10 * * * * /usr/lib/yp/ypinit -s jupiter && systemctl restart nis