[dev] [accounts] More candidates to refuse forwards / passwd /
vacation.
Thierry Thomas
thierry@pompo.net
Thu, 18 Jul 2002 21:46:46 +0200
Hello,
The following patches add some administrative accounts defined in
FreeBSD (and probably other unices) to the list of refused users for
forwards, passwd and vacation:
--- forwards/config/conf.php.dist.orig Wed May 22 05:08:51 2002
+++ forwards/config/conf.php.dist Thu Jul 18 21:34:36 2002
@@ -33,7 +33,10 @@
// Define usernames for which we will refuse to set forwards. Lists usernames
// only, and be aware that this blocks the username in all realms!
-$conf['user']['refused'] = array('root','bin','daemon','adm','lp','shutdown','halt','uucp','ftp','anonymous','nobody','httpd','operator','guest','diginext');
+$conf['user']['refused'] = array('adm','anonymous','bin','bind','courier',
+ 'cyrus','daemon','diginext','ftp','games','guest','halt','httpd','kmem',
+ 'lp','mailnull','man','mysql','news','nobody','operator','pgsql','pop',
+ 'postfix','root','shutdown','smmsp','sshd','toor','tty','uucp','www','xten');
// Define apps to put in the menu bar. To include IMP in the menu bar, you
// would add: $conf['menu']['apps'] = array('imp');
--- passwd/config/conf.php.dist.orig Wed Jul 17 18:58:35 2002
+++ passwd/config/conf.php.dist Thu Jul 18 21:36:55 2002
@@ -80,7 +80,10 @@
// Define usernames for which we will refuse to change passwords.
// This may or may not work with realms or virtual hosting, depending on setup
-$conf['user']['refused'] = array('root','bin','daemon','adm','lp','shutdown','halt','uucp','ftp','anonymous','nobody','httpd','operator','guest','diginext');
+$conf['user']['refused'] = array('adm','anonymous','bin','bind','courier',
+ 'cyrus','daemon','diginext','ftp','games','guest','halt','httpd','kmem',
+ 'lp','mailnull','man','mysql','news','nobody','operator','pgsql','pop',
+ 'postfix','root','shutdown','smmsp','sshd','toor','tty','uucp','www','xten');
// You can optionally set minimum and maximal allowed password lengths,
// and whether we should enforce (in the module) some simple password strength
--- vacation/config/conf.php.dist.orig Wed May 22 05:07:06 2002
+++ vacation/config/conf.php.dist Thu Jul 18 21:35:48 2002
@@ -38,7 +38,10 @@
// Define usernames for which we will refuse to set forwards. Lists usernames
// only, and be aware that this blocks the username in all realms!
-$conf['user']['refused'] = array('root','bin','daemon','adm','lp','shutdown','halt','uucp','ftp','anonymous','nobody','httpd','operator','guest','diginext');
+$conf['user']['refused'] = array('adm','anonymous','bin','bind','courier',
+ 'cyrus','daemon','diginext','ftp','games','guest','halt','httpd','kmem',
+ 'lp','mailnull','man','mysql','news','nobody','operator','pgsql','pop',
+ 'postfix','root','shutdown','smmsp','sshd','toor','tty','uucp','www','xten');
// Define apps to put in the menu bar. To include IMP in the menu bar, you
// would add: $conf['menu']['apps'] = array('imp');
Regards,
--
Th. Thomas.