initialize props for special accounts

tags/ipasserelle-base-0.2.65-1
Daniel Berteaud 13 years ago
parent 21e021ac42
commit 8784f0ac59
  1. 3
      ipasserelle-base.spec
  2. 15
      root/etc/e-smith/events/actions/ipasserelle-init-accounts

@ -1,5 +1,5 @@
%define version 0.2.0
%define release 1.beta2
%define release 1
%define name ipasserelle-base
@ -48,6 +48,7 @@ SME Server, with some additionnal modules
* Tue Apr 03 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1.sme
- Switch to git
- Fix PATH in cron script
- Initialize PasswordSet, AllowRSSH and VPNClientAccess prop for special accounts
* Sun Mar 04 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-24.sme
- Fix cron scripts permissions

@ -41,7 +41,10 @@ if (!$fws){
Company => 'Firewall-Services',
City => 'Martillac',
Dept => 'Administration',
Removable => 'no'
Removable => 'no',
PasswordSet => 'no',
AllowRSSH => 'yes',
VPNClientAccess => 'yes',
});
unless ( system("/sbin/e-smith/signal-event", "user-create", "fws") == 0 ){
@ -58,7 +61,10 @@ if (!$maillog){
FirstName => 'Mail',
LastName => 'Log',
EmailForward => 'local',
Removable => 'no'
Removable => 'no',
PasswordSet => 'no',
AllowRSSH => 'no',
VPNClientAccess => 'no',
});
unless ( system("/sbin/e-smith/signal-event", "user-create", "maillog") == 0 ){
@ -75,7 +81,10 @@ if (!$scan){
FirstName => 'Network',
LastName => 'Scan',
EmailForward => 'local',
Removable => 'no'
Removable => 'no',
PasswordSet => 'no',
AllowRSSH => 'no',
VPNClientAccess => 'no',
});
unless ( system("/sbin/e-smith/signal-event", "user-create", "scanner") == 0 ){

Loading…
Cancel
Save