0

enter image description here

I clicked continue as admin, so user not created, later there is no admin user option when I logged in. How to set that?

uday kiran
  • 69
  • 3

1 Answers1

0

Presumably, if you have a skipped that installation step, you have also not changed any of the default configuration for Global Security, Authentication, etc.

If you do a basic install, the default security (see {JENKINS_URL}/configureSecurity/ ) settings (as of LTS 2.222.1) are:

Authentication
Security Realm
(o) Jenkins own user database

Authorization
Strategy
(o) Logged-in users can do anything

In effect, any new user your create (see {JENKINS_URL}/securityRealm/ ), Create User ( {JENKINS_URL}/securityRealm/addUser ) is by default an admin.

In order to restrict access, you must configure Authorization to one of:

  • Matrix-based security
  • Project-based Matrix Authorization Strategy

Those options require Matrix Authorization Strategy plugin. For more information, review Jenkins Security on the site, or the book.

There are additional plugins which may provide more granular user mgmt, security or user/security control; Matrix Authorization Strategy(mentioned), Role-based Authorization Strategy, Folder-based Authorization Strategy come to mind.

Global security screenshot

Ian W
  • 239
  • 1
  • 2
  • 8