~ubuntu-branches/ubuntu/quantal/sudo/quantal

« back to all changes in this revision

Viewing changes to plugins/sudoers/sudoers_version.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2011-11-20 12:07:45 UTC
  • mfrom: (1.3.17 sid)
  • Revision ID: package-import@ubuntu.com-20111120120745-o3qpklobmygytndc
Tags: 1.8.3p1-1ubuntu1
* Merge from debian/testing, remaining changes:
  - debian/patches/keep_home_by_default.patch:
    + Set HOME in initial_keepenv_table. (rebased for 1.8.3p1)
  - debian/patches/enable_badpass.patch: turn on "mail_badpass" by default:
    + attempting sudo without knowing a login password is as bad as not
      being listed in the sudoers file, especially if getting the password
      wrong means doing the access-check-email-notification never happens
      (rebased for 1.8.3p1)
  - debian/rules:
    + compile with --without-lecture --with-tty-tickets (Ubuntu specific)
    + install man/man8/sudo_root.8 (Ubuntu specific)
    + install apport hooks
    + The ubuntu-sudo-as-admin-successful.patch was taken upstream by
      Debian however it requires a --enable-admin-flag configure flag to
      actually enable it.
  - debian/sudoers: 
    + grant admin group sudo access
  - debian/sudo-ldap.dirs, debian/sudo.dirs: 
    + add usr/share/apport/package-hooks
  - debian/sudo.preinst:
    + avoid conffile prompt by checking for known default /etc/sudoers
      and if found installing the correct default /etc/sudoers file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Major sudoers grammar changes are documented here.
 
3
 * Note that minor changes such as added Defaults options are not listed here.
 
4
 * This file placed in the public domain by Todd C. Miller on Apr 5, 2011.
 
5
 *
 
6
 * 1    sudo 1.1
 
7
 * 2    sudo 1.3, adds support specifying a directory instead of a command.
 
8
 * 3    sudo 1.3.2, new parser, Aliases have to be upper case
 
9
 * 4    sudo 1.3.2, adds User_Alias
 
10
 * 5    sudo 1.3.4, netgroup support
 
11
 * 6    sudo 1.3.5, support for escaping special chars
 
12
 * 7    sudo 1.3.7, unix group support
 
13
 * 8    sudo 1.4.1, wildcard support
 
14
 * 9    sudo 1.4.2, double quote support in sudoers command line args
 
15
 * 10   sudo 1.4.3, added NOPASSWD tag
 
16
 * 11   sudo 1.4.3, added Runas_Spec
 
17
 * 12   sudo 1.4.3, wildcards may be used in the pathname
 
18
 * 13   sudo 1.4.3, command args of "" means no args allowed
 
19
 * 14   sudo 1.4.4, '(' in command args no longer are a syntax error.
 
20
 * 15   sudo 1.4.4, '!command' works in the presence of runas user or NOPASSWD.
 
21
 * 16   sudo 1.4.4, all-caps user and host names are now handled properly.
 
22
 * 17   sudo 1.5.0, usernames may now begin with a digit
 
23
 * 18   sudo 1.5.3, adds Runas_Alias
 
24
 * 19   sudo 1.5.7, %group may be used in a Runas_List
 
25
 * 20   sudo 1.6.0, The runas user and NOPASSWD tags are now persistent across entries in a command list.  A PASSWD tag has been added to reverse NOPASSWD
 
26
 * 21   sudo 1.6.0, The '!' operator can be used in a Runas_Spec or an *_Alias
 
27
 * 22   sudo 1.6.0, a list of hosts may be used in a Host_Spec
 
28
 * 23   sudo 1.6.0, a list of users may be used in a User_Spec
 
29
 * 24   sudo 1.6.0, It is now possible to escape "special" characters in usernames, hostnames, etc with a backslash.
 
30
 * 25   sudo 1.6.0, Added Defaults run-time settings in sudoers.
 
31
 * 26   sudo 1.6.0, relaxed the regexp for matching user, host, group names.
 
32
 * 27   sudo 1.6.1, #uid is now allowed in a Runas_Alias.
 
33
 * 28   sudo 1.6.2, Wildcards are now allowed in hostnames.
 
34
 * 29   sudo 1.6.3p7, escaped special characters may be included in pathnames.
 
35
 * 30   sudo 1.6.8, added NOEXEC and EXEC tags.
 
36
 * 31   sudo 1.6.9, added SETENV and NOSETENV tags.
 
37
 * 32   sudo 1.6.9p4, support for IPv6 address matching.
 
38
 * 33   sudo 1.7.0, #include support.
 
39
 * 34   sudo 1.7.0, Runas_Group support.
 
40
 * 35   sudo 1.7.0, uid may now be used anywhere a username is valid.
 
41
 * 36   sudo 1.7.2, #includedir support.
 
42
 * 37   sudo 1.7.4, per-command Defaults support.
 
43
 * 38   sudo 1.7.4, added LOG_INPUT/LOG_OUTPUT and NOLOG_INPUT/NOLOG_OUTPUT tags
 
44
 * 39   sudo 1.7.6/1.8.1, White space is now permitted within a User_List in a per-user Defaults definition.
 
45
 * 40   sudo 1.7.6/1.8.1, A group ID is now allowed in a User_List or Runas_List.
 
46
*/
 
47
 
 
48
#ifndef _SUDOERS_VERSION_H
 
49
#define _SUDOERS_VERSION_H
 
50
 
 
51
#define SUDOERS_GRAMMAR_VERSION 40
 
52
 
 
53
#endif /* _SUDOERS_VERSION_H */