quick start guide overwrites sudoers file

Bug #1681418 reported by Fredrik Starkenberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Ian Wienand

Bug Description

In the quick start guide (https://docs.openstack.org/developer/devstack/) the user is asked to run a tee command:

sudo tee <<<"stack ALL=(ALL) NOPASSWD: ALL" /etc/sudoers

This is so the stack user gets sudo privileges without using a password.
The command will overwrite the sudoers file, potentially locking out the user if they have not added a password to the stack user yet.

Changed in devstack:
assignee: nobody → Fredrik Starkenberg (fresta)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/455293

Changed in devstack:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on devstack (master)

Change abandoned by Ian Wienand (<email address hidden>) on branch: master
Review: https://review.openstack.org/455293
Reason: see Idd27e684e63c616466de28c07551729a1e091bdd

Changed in devstack:
assignee: Fredrik Starkenberg (fresta) → Ian Wienand (iwienand)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/454183
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=a48ffa8c5823d2e0c26fff6ec9804f9da1981ffa
Submitter: Jenkins
Branch: master

commit a48ffa8c5823d2e0c26fff6ec9804f9da1981ffa
Author: Cyril Roelandt <email address hidden>
Date: Thu Apr 6 15:23:13 2017 +0200

    Do not ask users to overwrite their /etc/sudoers file

    Give instructions to add permissions for stack user without touching
    main config.

    Closes-Bug: #1680459
    Closes-Bug: #1681418
    Change-Id: Idd27e684e63c616466de28c07551729a1e091bdd

Changed in devstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.