[arch-commits] Commit in gdm/trunk (6 files)

Roman Kyrylych roman.kyrylych at gmail.com
Wed Oct 22 10:43:56 UTC 2008


2008/10/12 Jan de Groot <jgc at archlinux.org>:
>    Date: Saturday, October 11, 2008 @ 18:59:34
>  Author: jgc
> Revision: 15005
>
> upgpkg: gdm 2.20.8-1
>

> Modified: gdm.install
> ===================================================================
> --- gdm.install 2008-10-11 22:20:45 UTC (rev 15004)
> +++ gdm.install 2008-10-11 22:59:34 UTC (rev 15005)
> @@ -2,10 +2,11 @@
>
>  post_install() {
>   getent group gdm >/dev/null 2>&1 || groupadd gdm
> -  chown root.gdm /var/lib/gdm > /dev/null
> +  getent passwd gdm >/dev/null 2>&1 || usr/sbin/useradd -c 'PolicyKit' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm
> +  passwd -l gdm

Can we redirect the output of passwd to /dev/null too?
It displays a message that password has been changed,
whicn is kinda scary :-)

> +  chown root:gdm /var/lib/gdm > /dev/null
>   chmod 1770 /var/lib/gdm > /dev/null
>

-- 
Roman Kyrylych (Роман Кирилич)


More information about the arch-commits mailing list