From: stephen mahood Date: Thu, 19 Mar 2015 18:32:59 +0000 (-0400) Subject: Merge branch 'master' of vcs.fsf.org:fai-configs X-Git-Url: https://vcs.fsf.org/?p=fai-configs.git;a=commitdiff_plain;h=38f86dcb8d0612dfd2bc5ba5785d084697689852;hp=6bb86d6671ada6b6ec9a4e097b838a09421961cb Merge branch 'master' of vcs.fsf.org:fai-configs --- diff --git a/class/50-host-classes b/class/50-host-classes index f77152e..1ba7f98 100755 --- a/class/50-host-classes +++ b/class/50-host-classes @@ -47,11 +47,9 @@ case $HOSTNAME in ;; streamstation*) echo "FAIBASE DHCPC SYSADMIN STREAM" - nogrub=1 ;; freetop*) echo "FAIBASE DHCPC SYSADMIN XORG TRISQUEL WORKSTATION" - nogrub=1 ;; *) diff --git a/disk_config/FAIBASE b/disk_config/FAIBASE index 141b6de..68e0a34 100644 --- a/disk_config/FAIBASE +++ b/disk_config/FAIBASE @@ -4,7 +4,7 @@ disk_config disk1 disklabel:msdos bootable:1 fstabkey:uuid -primary / 18G ext3 rw,noatime,errors=remount-ro +primary / 10G ext3 rw,noatime,errors=remount-ro primary /home 100-100% ext3 rw,noatime,nosuid,nodev createopts="-L home -m 1" tuneopts="-c 0 -i 0" primary swap 2G swap rw diff --git a/files/etc/lightdm/lightdm.conf.d/50-fix-users.conf/WORKSTATION b/files/etc/lightdm/lightdm.conf.d/50-fix-users.conf/WORKSTATION new file mode 100644 index 0000000..ecbd552 --- /dev/null +++ b/files/etc/lightdm/lightdm.conf.d/50-fix-users.conf/WORKSTATION @@ -0,0 +1,3 @@ +[SeatDefaults] +greeter-hide-users=false +allow-guest=false diff --git a/files/etc/lightdm/users.conf/WORKSTATION b/files/etc/lightdm/users.conf/WORKSTATION new file mode 100644 index 0000000..e4948a6 --- /dev/null +++ b/files/etc/lightdm/users.conf/WORKSTATION @@ -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 +# +[UserList] +minimum-uid=500 +hidden-users=nobody nobody4 noaccess +hidden-shells=/bin/false /usr/sbin/nologin diff --git a/scripts/WORKSTATION/00_fix_users.sh b/scripts/WORKSTATION/00_fix_users.sh new file mode 100755 index 0000000..21b3a41 --- /dev/null +++ b/scripts/WORKSTATION/00_fix_users.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +fcopy -v /etc/lightdm/users.conf +fcopy -v /etc/lightdm/lightdm.conf.d/50-fix-users.conf