-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
knife bootstrap with a different root password to the authenticated user #10181
Comments
Hey @kmf thanks for reporting the bug, I guess it is asking for Could you please add
|
|
@vsingh-msys bump |
14 Days? |
@kmf I tried to replicate it on centos8 did the following steps:
Console output:
This is the expected behavior. Note: I think the user must have sudo(in case we use --sudo) or enough privileges to manage chef related permissions.
Sorry for the late reply. Could you please try with I manually try which also required to configure sudo password for bob user.
|
This is not expected behaviour. I'm using this on AIX which doesn't have sudo and I'm not allowed to install it. @mattray sorry for dragging you into this, do you understand my problem? |
@kmf seems I have put this into another direction. At present So if the logged user doesn't have sufficient permissions(sudo), switching to the root user(or privileged user) would be a valid use case and we need to maintain another session in between with valid user/password In order to achieve this, I would prefer to add new Thanks! |
@vsingh-msys would be awesome! |
Any news/progress on this issue? |
@vsingh-msys bump |
Description
When bootstrapping a client with a different root password than the authenticated user,
doesn't work, tested on CentOS and AIX
It does ask for to enter bob's password
but not for
root
Chef Version
Chef Workstation 20.7.96
Platform Version
AIX 7.2
CentOS 8.2
Replication Case
Provision a CentOS Node
root login is disabled via ssh
set the
root
password aspassword1024
create a user called
bob
password aspassword
try and bootstrap the node
Client Output
Linked Issues
The text was updated successfully, but these errors were encountered: