commit | 0d2145a0f37da869fcc4754e41b1b8e0618679ea | [log] [tgz] |
---|---|---|
author | Scott Moser <smoser@ubuntu.com> | Fri Oct 07 15:18:10 2011 +0000 |
committer | Scott Moser <smoser@brickies.net> | Wed Oct 12 08:52:09 2011 -0400 |
tree | f52999693d57d08e73c9f833dba264447d38c7b1 | |
parent | 7c481189bdeda3c79029b1b47d8edd1bf8bd50fa [diff] |
some improvements to 'create stack user' path * Increase the timeout from 3 to 10, so user has a bigger chance to kill the script if being run interactively before a 'stack' user is created. * explicitly ask 'getent' for the stack user rather than getting all users and grepping (which would match an "openstack" user, or a user named "bob.stack") * use $PWD rather than `pwd` * create file in sudoers.d rather than modifying /etc/sudoers.