lightdm config
authorOwen Smith <owen@omsmith.ca>
Wed, 15 May 2013 06:40:55 +0000 (02:40 -0400)
committerOwen Smith <owen@omsmith.ca>
Wed, 15 May 2013 06:40:55 +0000 (02:40 -0400)
bootstrap.sh
templates/lightdm.conf [new file with mode: 0644]
templates/users.conf [new file with mode: 0644]

index e8271da..112e96d 100755 (executable)
@@ -87,6 +87,10 @@ then
        # gnome keyring fix
        rm /etc/pkcs11/modules/gnome-keyring.module
 
+    # lightdm
+    cp ./templates/lightdm.conf /etc/lightdm/lightdm.conf
+    cp ./templates/users.conf /etc/lightdm/users.conf
+
     # set novelty background
     cp -r ./templates/backgrounds /usr/local/share/backgrounds
        sudo -u lightdm dbus-launch gsettings set com.canonical.unity-greeter background /usr/local/share/backgrounds/current.jpg
diff --git a/templates/lightdm.conf b/templates/lightdm.conf
new file mode 100644 (file)
index 0000000..3e223f9
--- /dev/null
@@ -0,0 +1,6 @@
+
+[SeatDefaults]
+user-session=xsession
+greeter-hide-users=true
+allow-guest=false
+greeter-session=unity-greeter
diff --git a/templates/users.conf b/templates/users.conf
new file mode 100644 (file)
index 0000000..05207ce
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# User accounts configuration
+#
+# NOTE: If you have AccountsService installed on your system, then LightDM will
+# use this instead and these settings will be ignored
+#
+# minimum-uid = Minimum UID required to be shown in greeter
+# hidden-users = Users that are not shown to the user
+# hidden-shells = Shells that indicate a user cannot login
+#
+[UserAccounts]
+minimum-uid=500
+hidden-users=nobody nobody4 noaccess
+hidden-shells=/bin/false /usr/sbin/nologin