]> git.plutz.net Git - bootimage/commitdiff
update files from master nis
authorPaul Hänsch <paul@plutz.net>
Tue, 24 Jul 2018 10:28:39 +0000 (12:28 +0200)
committerPaul Hänsch <paul@plutz.net>
Tue, 24 Jul 2018 10:28:39 +0000 (12:28 +0200)
Makefile
config_base/etc/X11/Xresources/xscreensaver
config_base/etc/apt/preferences [new file with mode: 0644]
config_base/etc/apt/sources.list
config_base/etc/lxdm/lxdm.conf [new file with mode: 0644]
config_base/etc/sudoers [new file with mode: 0644]
permissions.mk

index 8879c09a942ac481e23aaf002b21301f9ca01037..00c2c4ea7474a634ebb593b701e8d4f22bb7b76f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -47,6 +47,7 @@ stretch_%_config/: stretch_%_root/ ${CONFIG} permissions .FORCE
 stretch_%.squashfs: stretch_%_config/
        rm "$@" || true
        mksquashfs "$<" "$@" -comp xz
+       chmod a+r "$@"
 
 vmlinuz: stretch_*_root/
        ln -fs '$<$@' ./
index 657bf2624797b60c5326d3e5e25ee5aa301877fc..6c4d7e81825d86c2140b1a53262611d7cf35ca28 100644 (file)
@@ -1,2 +1,4 @@
 xscreensaver.mode: one
 xscreensaver.selected: 151
+xscreensaver.newLoginCommand: /usr/sbin/lxdm -c USER_SWITCH
+
diff --git a/config_base/etc/apt/preferences b/config_base/etc/apt/preferences
new file mode 100644 (file)
index 0000000..6534992
--- /dev/null
@@ -0,0 +1,3 @@
+Package: *
+Pin: release n=stretch
+Pin-Priority: 900
index 10a702f33167ed7e1ec49301437d0a6f39b97ee6..bd5d70e7d627a914321b3480d25b920e8ec0781d 100644 (file)
@@ -1,2 +1,4 @@
 deb http://deb.debian.org/debian stretch main
 deb http://security.debian.org/ stretch/updates main
+
+deb http://deb.debian.org/debian buster main
diff --git a/config_base/etc/lxdm/lxdm.conf b/config_base/etc/lxdm/lxdm.conf
new file mode 100644 (file)
index 0000000..ceb4ca6
--- /dev/null
@@ -0,0 +1,61 @@
+[base]
+## uncomment and set autologin username to enable autologin
+# autologin=dgod
+
+## uncomment and set timeout to enable timeout autologin,
+## the value should >=5
+# timeout=10
+
+## default session or desktop used when no systemwide config
+session=/usr/bin/startxfce4
+
+## uncomment and set to set numlock on your keyboard
+# numlock=0
+
+## set this if you don't want to put xauth file at ~/.Xauthority
+# xauth_path=/tmp
+
+# not ask password for users who have empty password
+# skip_password=1
+
+## greeter used to welcome the user
+greeter=/usr/lib/lxdm/lxdm-greeter-gtk
+
+[server]
+## arg used to start xserver, not fully function
+# arg=/usr/bin/X -background vt1
+# uncomment this if you really want xserver listen to tcp
+# tcp_listen=1
+
+[display]
+## gtk theme used by greeter
+gtk_theme=Clearlooks
+
+## background of the greeter
+#bg=/usr/share/backgrounds/default.png
+bg=/usr/share/images/desktop-base/login-background.svg
+
+## if show bottom pane
+bottom_pane=1
+
+## if show language select control
+lang=1
+
+## if show keyboard layout select control
+keyboard=0
+
+## the theme of greeter
+theme=Industrial
+
+[input]
+
+[userlist]
+## if disable the user list control at greeter
+disable=0
+
+## whitelist user
+white=
+
+## blacklist user
+black=
+
diff --git a/config_base/etc/sudoers b/config_base/etc/sudoers
new file mode 100644 (file)
index 0000000..1b534c8
--- /dev/null
@@ -0,0 +1,27 @@
+#
+# This file MUST be edited with the 'visudo' command as root.
+#
+# Please consider adding local content in /etc/sudoers.d/ instead of
+# directly modifying this file.
+#
+# See the man page for details on how to write a sudoers file.
+#
+Defaults       env_reset
+Defaults       mail_badpass
+Defaults       secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
+
+# Host alias specification
+
+# User alias specification
+
+# Cmnd alias specification
+
+# User privilege specification
+root   ALL=(ALL:ALL) ALL
+
+# Allow members of group sudo to execute any command
+%sudo  ALL=NOPASSWD: ALL
+
+# See sudoers(5) for more information on "#include" directives:
+
+#includedir /etc/sudoers.d
index 0930d2ed4bc0e7b1687873479efa4e776f38c420..165f3b4af1c437e5604c4d32580b4cba418de81c 100644 (file)
@@ -7,14 +7,16 @@ permissions: ${CONFIG} .FORCE
        -chmod -R a+rX config_*/var/
        -chmod -R a+rX config_*/lib/
        -chmod -R a+rX config_*/usr/
+       -chmod -R a+rX config_*/opt/
        -chmod 0700 config_*/var/lib/polkit-1/
+       -chgrp -R 107 config_*/var/spool/cron/crontabs/
+       -chmod 1730 config_*/var/spool/cron/crontabs/
+       -chmod 0600 config_*/var/spool/cron/crontabs/*
+       -chmod 0600 config_*/etc/NetworkManager/system-connections/*
        -chmod 0750 config_*/root/
        -chmod 0700 config_*/root/.ssh/
        -chmod 0600 config_*/root/.ssh/authorized_keys
        -chmod 0750 config_*/home/*/
        -chmod 0700 config_*/home/*/.ssh/
        -chmod 0600 config_*/home/*/.ssh/authorized_keys
-       -chgrp -R 107 config_*/var/spool/cron/crontabs/
-       -chmod 1730 config_*/var/spool/cron/crontabs/
-       -chmod 0600 config_*/var/spool/cron/crontabs/*
-       -chmod 0600 config_*/etc/NetworkManager/system-connections/*
+       -chown 1014:1014 config_*/home/guest