]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commit
batch mode: Skip all uid < 1000 programs instead of only uid = 0
authorPhillip Berndt <phillip.berndt@googlemail.com>
Wed, 23 Nov 2016 20:25:09 +0000 (21:25 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Wed, 23 Nov 2016 20:25:09 +0000 (21:25 +0100)
commit53d29f99275aebf14240ea95f2d7022b305738d5
tree6d22645595895be492ae866e7e2f5379a071b01c
parent986e5cfaf68e695483c7d388e4ea093a28862445
batch mode: Skip all uid < 1000 programs instead of only uid = 0

This fixes bug #63, but might have unexpected side effects. From a
comment in the commit:

> The following line assumes that user accounts start at 1000 and that
> no one works using the root or another system account. This is rather
> restrictive, but de facto default.  Alternatives would be to use the
> UID_MIN from /etc/login.defs or FIRST_UID from /etc/adduser.conf; but
> effectively, both values aren't binding in any way.  If this breaks
> your use case, please file a bug on Github.
autorandr.py