Actions
Feature #5380
closedprojects should be created with minimal secutrity/authentication enabled
Start date:
10/22/2013
Due date:
% Done:
100%
Estimated time:
Related issues
Updated by Brétel Foudil over 11 years ago
- Subject changed from projects should be created with minimal secutrity enabled to projects should be created with minimal secutrity/authenticcation enabled
Updated by Brétel Foudil over 11 years ago
- Subject changed from projects should be created with minimal secutrity/authenticcation enabled to projects should be created with minimal secutrity/authentication enabled
Updated by Brétel Foudil about 11 years ago
Ok, so here is a sketch of what we want, and how we can achieve it:
Goals:- security enabled (most probably default to Jenkins’s own user database with Matrix-based security)
- a user account for the corresponding instance admin user
- a regular check that security is enabled
- a cimaster user with
Administer
rights (this is needed for administrative tasks such as safe-restart, and statistics)
config.xml
, init.groovy
script, and cron
. At project creation:
- security is enabled in
config.xml
- an
init.groovy
script is created which, on firstRun:- creates an admin user with an uuid-generated password (to be changed afterwards by the corresponding admin)
- creates a cimaster user with a generic password, and the project's SSH key
/etc/cron.d/jenkinsfarm
is edited to add a line for periodically running a groovy script through thegroovy
jenkins-cli command. This script will check that the security is enabled.
Updated by Brétel Foudil about 11 years ago
- Status changed from Assigned to Closed
- % Done changed from 60 to 100
Issue fixed.
Existing projects will be corrected upon deployment by creating a cimaster
user and checking security is enabled.
Updated by Brétel Foudil about 11 years ago
- % Done changed from 100 to 70
Missing the periodical check part. Update %Done to reflect that.
Updated by Brétel Foudil about 11 years ago
- % Done changed from 70 to 100
cron for checking security in place.
Actions