root/op/1.32/ChangeLog

Revision 261, 7.4 kB (checked in by athomas, 3 years ago)
  • Branched 1.32
Line 
1 08/12/05 - op 1.32
2 ==================
3
4   * Added rpl_malloc/rpl_realloc so that systems with dodgy implementations
5     will link. This fixes compilation on HPUX, for example.
6   * If a 'help' parameter does not exist, use the actual command to be run for
7     the help.
8   * Added detection for openlog() returning void.
9
10 01/09/05 - op 1.31
11 ==================
12
13 The biggest change is the move to the autotools.
14
15 Broken down changes.
16
17   * Trailing args are now expanded from the last numbered argument encountered.
18     eg. with {{{/bin/echo $1 $*}}}, the {{{$*}}} will expand to arguments 2 and on.
19   * Fixed usage of snprintf.
20   * Renamed fowner to fowners to be more consistent with the rest of the op commands.
21   * Fixed long standing bug where the incorrect user is reported in the logs.
22   * Added fperms and fowner constraints thanks to Pierre.
23   * Logging beautification.
24   * More automake/autoconf additions and cleanup.
25   * Cleaned up ChangeLog, README, AUTHORS and NEWS.
26   * Added man page.
27   * Merged autoconf branch into trunk.
28   * Fixed build errors on AIX reported by Pierre.
29   * {{{make clean}}} cleans up {{{lex.c}}}.
30   * Some configure fixes for crypt and pam fallback.
31   * Added --with-shadow.
32   * Added patch from Pierre that automatically reduces commands in the form "op
33     /bin/ksh" to "op ksh" if the target is a valid executable. Convenience only.
34   * Added a log prettification patch from Pierre. Also removed "=>" as it was
35     ugly. This may break log parsers.
36   * Added xauth support back in with {{{--enable-xauth=<xauth-binary>}}}.
37
38
39  27/05/05 - op 1.30
40 ==================
41 Fixed use of DEFAULT section, closes #5. Quite a pain in the arse actually.
42
43 Environment variables can now be propagated into child environments even when
44 "environment" is specified. This will override any existing variables.
45
46 Now using vsnprintf rather than snprintf. Correspondingly, changed preprocessor
47 define which may mean build scripts need to be changed.
48
49 Added an INSTALL file documenting the usual installation instructions.
50
51 Default to using Flex, as Lex has internal constraints.
52
53 Added default op.pam which is now installed if /etc/pam.d exists.
54
55 Added patches by Pierre fixing strnprintf issues and a wildcard constraint bug.
56 Thanks Pierre.
57
58 08/04/05 - op 1.29
59 ==================
60 Added -l argument which lists available commands.
61
62 Also added a {{{help="<help>"}}} option which defines the help string displayed
63 by -l.
64
65 Cleaned up the code a bit, adding some basic dynamic array functions instead of
66 replicating the code across multiple areas.
67
68 Closes #4
69
70 07/04/05 - op 1.27/1.28
71 ==================
72 Added ''nolog'' option which suppresses informational logs. Useful for
73 automated jobs to prevent log spam.
74
75 Configuration files in /etc/op.d are now lexically sorted. This allows
76 variables in configuration files to be used deterministically. Commands
77 can also be overridden in this fashion.
78
79 07/04/05 - op 1.26
80 ==================
81 op will now read all config files in /etc/op.d with a .conf extension. This is
82 a clean way of adding extra commands without having to manipulate op.conf.
83 op.conf does not have to be present at all.  Useful for dropping in op config
84 with other packages or when adding config to systems in bulk. Thanks to Kyle
85 Hyland for this idea.
86
87 Also made error reporting a bit smarter when config files are missing or have
88 incorrect permissions.
89
90 06/07/04 - op 1.24
91 ==================
92 The xauth directive can now be given a target user, into whose environment the
93 X authentication information is imported.
94
95 04/05/04 - op 1.23
96 ==================
97 The xauth modifier now updates $XAUTHORITY in the child environment.
98 Fixed a bug when setting the GID explicitly.
99
100 03/05/04 - op 1.22
101 ==================
102 Added xauth support. This allows the X authority for the current display to be
103 exported to the destination users X authority database. eg.
104
105         shell  /bin/su -; users=athomas $TERM xauth password
106
107 To enable xauth support, the preprocessor macro XAUTH must be defined as
108 a string pointing to the FULL PATH to the xauth binary.
109
110 23/04/04 - op 1.21
111 ==================
112 Added netgroup support. eg.
113
114         shell /bin/su -; netgroup=op-shell environment
115
116 This is very useful in conjunction with either LDAP or NIS based netgroups.
117
118 02/02/04 - op 1.20
119 ==================
120 Fixed a fairly major bug whereby blocked signals were not restored to their
121 original state upon execv'ing the child process.
122
123 Changed version number scheme to match the original op versions, and bumped up
124 to 1.20. This is part of a collaborative effort between myself and Steve
125 Simmons, who is going to add Kerberos support to op in the near future. Welcome
126 Steve.
127
128 27/01/04 - op 1.1.10
129 ====================
130 Applied some of the FreeBSD patches, thanks to Cyrille Lefevre (the previous
131 FreeBSD port maintainer) for pointing me to these.
132 Patched a potential buffer overflow, again, picked up by Cyrille.
133 Added lots of checks for allocation failures.
134 Added constraints to as many uses of strcpy/strcat as I could find.
135 Added constraint on number of simultaneous groups a user can be in.
136
137 24/01/04 - op 1.1.9
138 ===================
139 Trapping signals (SIGINT, etc.) so that a failed authentication attempt can not
140 be broken out of.
141
142 06/11/03 - op 1.1.8
143 ===================
144 Fixed a fairly substantial bug where command arguments with multiple variables
145 were not being expanded at all.
146
147 28/10/03 - op 1.1.7
148 ===================
149 Logging now uses auth.level, and level is actually useful.
150
151 22/07/03 - op 1.1.6
152 ===================
153 Added PAM support.
154
155 April 17th 2003 - op 1.1.5
156 ==========================
157 Added extensive logging to op. All logging is sent to syslog as auth.notice.
158
159 April 16th 2003 - op 1.1.4
160 ==========================
161 Added basic quoted argument passing to exec commands. This allows for complex
162 shell scripts:
163
164         inetd /bin/sh -c '
165                         case $1 in
166                                 on) /usr/sbin/inetd -s ;;
167                                 off) /usr/bin/pkill inetd ;;
168                         esac
169                         ';
170                 users=ROOTUSERS
171                 $1=on|off
172
173 April 10th 2003 - op 1.1.3
174 ==========================
175 Added a max length arugment to GetField to help prevent buffer overflows.
176 Regular expressions always have ^ prepended and $ appended so that if you put
177 'a' in an rx field it will not match any string with an 'a'. Old behaviour can
178 be emulated with '.*a.*'.
179 Added expiration support to users (user[@host][/expiry]).
180
181 September 13th 2002 - op 1.1.2
182 ==============================
183 Added user@host and group@host based access as well as variable expansion.
184 Changed SHADOW to USE_SHADOW so it doesn't conflict with system defines.
185
186 November 22nd 1997 - op 1.1.1
187 ===============================
188 Break shadow support out from Solaris support. Added SHADOW symbol to the
189 build. It works on Linux 2.0.30. Presumably it still works on Solaris. 8)
190
191 Cleaned up logging code. It was an uncomfortable mess. Slimmed it down some.
192
193 Historical ChangeLog entries below
194 ==================================
195 Dave Koblas added the keyword "password" to the list of options
196 accepted by op. This requires the user to supply op with a password
197 before executing the command.  The password can be specified in the
198 op.access file (with "password=") or the user's personal password may
199 be required.
200
201 Howard Owen added the keyword "securid" to the list of options
202 accepted by op. This functions similarly to the "password" option,
203 requiring the user to supply op with his or her current SecurID code before
204 executing the command. If op is compiled without SecurID support, use
205 of this option in op.access will result in an error message and a
206 refusal to execute the corresponding command.
Note: See TracBrowser for help on using the browser.