Actually the su man page says:

SYNOPSIS
       su [options] [-] [user|UID [argument...]]

So one could argue that the acpi-support script's use of 
'su "$XUSER" -s /bin/sh -c "..."' is buggy.
'su -s /bin/sh "$XUSER" -c "..."' works.

However, the acpi-support scripts (/usr/share/acpi-support/screenblank
and /etc/acpi/lid.sh, have not checked others) worked with previous versions
of util-linux.


Best Regards,
Johannes

Reply via email to