Fabio Rehm
1cf8ce50e4
command/sudoers: Fix whitelisting to take GH-277 into account
2014-05-12 23:05:42 -03:00
Eric Hartmann
3b311ad840
Fix sudoers for multiple users
2014-04-23 17:49:04 +02:00
Eric Hartmann
2666f9e38d
Fix argument parsing
2014-04-23 16:27:33 +02:00
Jef Mathiot
0eae5c0926
Removed unsecure calls to SudoWrapper#su_c.
2014-04-17 12:56:56 +02:00
Jef Mathiot
94e175dc07
sudoers command now creates a safe wrapper script.
...
Sudoers now creates a safe wrapper script that performs sanity checks on sudo :
* wrapper generated in /usr/local/bin (name includes version to allow multiple wrappers on the same system)
* sudoers command now generates a one-line file in /etc/sudoers.d
* SudoWrapper use the new wrapper
* Removed unused Config#validate method
2014-04-09 15:53:20 +02:00
Fabio Rehm
7e9d790f6a
command/sudoers: Minor tweaks to make the generated file work with latest changes
2014-03-27 20:04:38 -03:00
Fabio Rehm
328477172e
command/sudoers: Add missing -p
to mkdir
command
2014-03-24 23:50:38 -03:00
Jef Mathiot
5a56b72360
* Ruby >1.9 hash syntax
...
* Improved comment on Vagrant::Registry.keys
2014-03-22 00:58:36 +01:00
Fabio Rehm
8b1573c536
doc: Let everyone know about the new vagrant lxc sudoers
command
2014-03-21 20:04:35 -03:00
Fabio Rehm
64de0fca3c
command/sudoers: Mention what is the default value for the user and add a REFACTOR note
2014-03-21 19:53:49 -03:00
Fabio Rehm
02fefd10c0
command/sudoers: Nitpick
...
* Use Ruby 1.9+ hash syntax
* Use % as the BOXES placeholder as it is the same symbol used for I18n placeholders as well
2014-03-21 19:48:36 -03:00
Fabio Rehm
19bccc9ca5
✂️ whitespace
2014-03-21 19:38:56 -03:00
Jef Mathiot
8590c87132
Created an "lxc sudoers" command to create sudoers file for a given user (defaults to current one).
2014-03-16 18:59:18 +01:00