Initial commit
This commit is contained in:
4
overlay/etc/fstab
Normal file
4
overlay/etc/fstab
Normal file
@@ -0,0 +1,4 @@
|
||||
tmpfs /var/lib/rsyslog tmpfs defaults 0 0
|
||||
tmpfs /var/log tmpfs defaults 0 0
|
||||
tmpfs /var/lib/systemd tmpfs defaults 0 0
|
||||
tmpfs /var/lib/NetworkManager tmpfs defaults 0 0
|
||||
17
overlay/etc/pam.d/xinit
Normal file
17
overlay/etc/pam.d/xinit
Normal file
@@ -0,0 +1,17 @@
|
||||
#%PAM-1.0
|
||||
auth substack system-auth
|
||||
auth include postlogin
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
# pam_selinux.so close should be the first session rule
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
# pam_selinux.so open should only be followed by sessions to be executed in the user context
|
||||
session required pam_selinux.so open
|
||||
session required pam_namespace.so
|
||||
session optional pam_keyinit.so force revoke
|
||||
session include system-auth
|
||||
session required pam_exec.so /usr/local/libexec/home-overlay.sh
|
||||
session include postlogin
|
||||
-session optional pam_ck_connector.so
|
||||
4
overlay/etc/rsyslog.conf
Normal file
4
overlay/etc/rsyslog.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
global(workDirectory="/var/lib/rsyslog")
|
||||
module(load="imjournal"
|
||||
StateFile="imjournal.state")
|
||||
*.* @172.30.0.28
|
||||
21
overlay/etc/systemd/system/xinit@.service
Normal file
21
overlay/etc/systemd/system/xinit@.service
Normal file
@@ -0,0 +1,21 @@
|
||||
[Unit]
|
||||
Description=Start X.org for user %I
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
Wants=time-sync.target
|
||||
After=time-sync.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=%I
|
||||
WorkingDirectory=~
|
||||
PAMName=xinit
|
||||
TTYPath=/dev/tty7
|
||||
StandardInput=tty
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
ExecStart=/usr/bin/startx
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical.target
|
||||
9
overlay/etc/systemd/user/firefox.service
Normal file
9
overlay/etc/systemd/user/firefox.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Firefox web browser
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/firefox
|
||||
Restart=always
|
||||
StandardInput=null
|
||||
StandardOutput=journal
|
||||
4
overlay/etc/systemd/user/graphical.target
Normal file
4
overlay/etc/systemd/user/graphical.target
Normal file
@@ -0,0 +1,4 @@
|
||||
[Unit]
|
||||
Description=Graphical Interface
|
||||
After=default.target
|
||||
AllowIsolate=yes
|
||||
1
overlay/etc/systemd/user/graphical.target.wants/firefox.service
Symbolic link
1
overlay/etc/systemd/user/graphical.target.wants/firefox.service
Symbolic link
@@ -0,0 +1 @@
|
||||
../firefox.service
|
||||
Reference in New Issue
Block a user