Projet

Général

Profil

« Précédent | Suivant » 

Révision bdbb4dba

Ajouté par Renato Botelho il y a plus de 9 ans

Make sure unbound user and group is also created during upgrade config

Voir les différences:

etc/inc/upgrade_config.inc
3377 3377
function upgrade_110_to_111() {
3378 3378
	global $config;
3379 3379

  
3380
	/* Make sure unbound user exist */
3381
	mwexec('/usr/sbin/pw groupadd -n unbound -g 59', true);
3382
	mwexec('/usr/sbin/pw useradd -n unbound -c "Unbound DNS Resolver" -d /var/unbound -s /usr/sbin/nologin -u 59 -g 59', true);
3383

  
3380 3384
	if (!isset($config['installedpackages']['unbound']['config'][0]))
3381 3385
		return;
3382 3386

  

Formats disponibles : Unified diff