Last Updated: February 25, 2016
·
5.73K
· mehikmat

Start Jenkins as Administrator

$ java -jar ~/jenkins.war --argumentsRealm.passwd.admin_user=admin_pw  --argumentsRealm.roles.admin_user=admin

Where,

`admin_user` is administrator name,
`admin_pw` is administrator password

And then jenkins server starts with new user admin_user as administrator