From 467d6d31306f11f255464835cf8931e4768f96ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 28 Jun 2006 11:38:48 +0000 Subject: [PATCH] Use default standard users/groups from LSB. Distributors may want to customize StandardUsers/StandardGroups. git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1212 9bc8b190-ac0f-0410-8968-dc7d1f502856 --- FilesCheck.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/FilesCheck.py b/FilesCheck.py index 1619b71f..93d18349 100644 --- a/FilesCheck.py +++ b/FilesCheck.py @@ -158,13 +158,13 @@ DEFAULT_GAMES_GROUPS='Games' DEFAULT_DANGLING_EXCEPTIONS = (['consolehelper$', 'usermode-consoleonly'], ) -DEFAULT_STANDARD_GROUPS = ('root', 'bin', 'daemon', 'sys', 'adm', 'tty', - 'disk', 'lp', 'mem', 'kmem', 'wheel', 'mail', - 'news', 'uucp', 'man', 'games', 'cdrom', 'users', - 'cdwriter', 'audio',) -DEFAULT_STANDARD_USERS = ('root', 'bin', 'daemon', 'adm', 'lp', 'sync', - 'shutdown', 'halt', 'mail', 'news', 'uucp', - 'operator', 'games',) +# Standard users and groups from LSB 3.1: 21.2 User & Group Names +DEFAULT_STANDARD_USERS = ('root', 'bin', 'daemon', 'adm', 'lp', 'sync', + 'shutdown', 'halt', 'mail', 'news', 'uucp', + 'operator', 'man', 'nobody',) +DEFAULT_STANDARD_GROUPS = ('root', 'bin', 'daemon', 'adm', 'lp', 'sync', + 'shutdown', 'halt', 'mail', 'news', 'uucp', + 'man', 'nobody',) tmp_regex=re.compile('^/tmp/|^(/var|/usr)/tmp/') mnt_regex=re.compile('^/mnt/')