← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1635794] [NEW] lock_passwd should not be true by default

 

Public bug reported:

I used the users module to add an authorized key to the root user:
users:
  - name: root
    ssh-authorized_keys:
      - {{ authorized_key }}

I was surprised to find that root's password was locked after this
operation - the lock_passwd key has a default of true.  Is there a
reason why the locked status can't be left just the way it was, instead
of locking it by default?

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1635794

Title:
  lock_passwd should not be true by default

Status in cloud-init:
  New

Bug description:
  I used the users module to add an authorized key to the root user:
  users:
    - name: root
      ssh-authorized_keys:
        - {{ authorized_key }}

  I was surprised to find that root's password was locked after this
  operation - the lock_passwd key has a default of true.  Is there a
  reason why the locked status can't be left just the way it was,
  instead of locking it by default?

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1635794/+subscriptions


Follow ups