QT-DevOps / DevOpsIssues

This Repo will be used to demonstrate the Skills & Questions in DevOps
Apache License 2.0
27 stars 130 forks source link

jenkins passwd #959

Closed puneeth29 closed 3 years ago

puneeth29 commented 3 years ago

jenkins passwd

no matter what I type it's saying wrong and I used the psswd which I gave on UI and didn't work as well

puru7791 commented 3 years ago

u didn't know jenkins passwd right, try to become a root user and run it.

puneeth29 commented 3 years ago

I did SU -I and SU jenkins and later tried sudo visudo and I got this issue

puru7791 commented 3 years ago

I got it, but u r trying to switch normal user to root. it might ask password for the normal user. For Jenkins user itself created whenever it is being installed. so u didn't know Jenkins passwd right. type exit it goes to the root and run visudo.

shaikkhajaibrahim commented 3 years ago

Hi puneeth, Jenkins is created as part of installation & by default it will not have password, so

  1. Become root user (sudo -i)
  2. su jenkins

Best is to try watch linux tutorials for linux user management