support/genhomedircon: support usr prefixed paths

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
Christian Göttsche 2024-02-22 17:12:56 +01:00
parent b215f46531
commit c781fb74c9
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
import sys, pwd, getopt, re, os import sys, pwd, getopt, re, os
from subprocess import getstatusoutput from subprocess import getstatusoutput
EXCLUDE_LOGINS=["/sbin/nologin", "/bin/false"] EXCLUDE_LOGINS=["/sbin/nologin", "/usr/sbin/nologin", "/bin/false", "/usr/bin/false"]
def getStartingUID(): def getStartingUID():