stretch_%.squashfs: stretch_%_config/
rm "$@" || true
mksquashfs "$<" "$@" -comp xz
+ chmod a+r "$@"
vmlinuz: stretch_*_root/
ln -fs '$<$@' ./
xscreensaver.mode: one
xscreensaver.selected: 151
+xscreensaver.newLoginCommand: /usr/sbin/lxdm -c USER_SWITCH
+
--- /dev/null
+Package: *
+Pin: release n=stretch
+Pin-Priority: 900
deb http://deb.debian.org/debian stretch main
deb http://security.debian.org/ stretch/updates main
+
+deb http://deb.debian.org/debian buster main
--- /dev/null
+[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=
+
--- /dev/null
+#
+# 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
-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