system: Add 'sudo' to the setuid programs, and handle /etc/sudoers.
authorLudovic Courtès <ludo@gnu.org>
Thu, 1 May 2014 13:29:24 +0000 (15:29 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 1 May 2014 20:31:36 +0000 (22:31 +0200)
commit696893801c9d4b83adc9a15ce60103142e7c1a79
tree7087904402049156935769090d875c307b7c76dd
parentb9100e2f11a6735d37bb256ffecb947f9b7ce31f
system: Add 'sudo' to the setuid programs, and handle /etc/sudoers.

* gnu/system.scm (<operating-system>)[groups]: Change default to just
  the 'root' group.
  [sudoers]: New field.
  (etc-directory): Add #:sudoers parameter.  Add 'sudoers' to the
  file union.
  (operating-system-etc-directory): Pass #:sudoers to 'etc-directory'.
  (%setuid-programs): Add 'sudo'.
  (%sudoers-specification): New variable.
* gnu/system/linux.scm (base-pam-services): Add 'sudo'.
* build-aux/hydra/demo-os.scm: Add 'groups' field; add 'guest' to the
  'wheel' group.
build-aux/hydra/demo-os.scm
gnu/system.scm
gnu/system/linux.scm