Commit Graph

2195 Commits

Author SHA1 Message Date
Todd C. Miller
ae96a4f1ad Add --with-goodpri and --with-badpri configure options to specify the
syslog priority to use.
1999-08-05 14:48:35 +00:00
Todd C. Miller
d47ddf6a9d Add --with-goodpri and --with-badpri configure options to specify the
syslog priority to use.
1999-08-05 14:30:57 +00:00
Todd C. Miller
fdb5da47ae kill crufty AIX stuff 1999-08-05 14:25:35 +00:00
Todd C. Miller
93c2367743 Sigh, some versions of make (like Solaris's) don't deal with $< like
I would expect.  Both GNU and BSD makes get this right but...
So, we just expand $< inline at the cost of some ugliness.
1999-08-05 10:55:14 +00:00
Todd C. Miller
fd16d8e77f If the invoking user is root, sudo will now print configure info in
-V mode.  Currently just prints logging info, to be expanded later.
1999-08-05 10:52:33 +00:00
Todd C. Miller
27d6f353e2 o new defines for syslog facility and priority
o use new print_version() functino for -V mode
1999-08-05 10:51:02 +00:00
Todd C. Miller
9283524123 Don't need version.c 1999-08-05 10:49:24 +00:00
Todd C. Miller
e966a6b3e0 Add check for syslog facilities and priorities tables in syslog.h 1999-08-05 10:21:28 +00:00
Todd C. Miller
a7acfdb683 o authenticate -> aix_auth
o add version.c
1999-08-05 09:23:39 +00:00
Todd C. Miller
5e72465522 Missed a prompt -> user_prompt conversion 1999-08-05 09:21:38 +00:00
Todd C. Miller
4aa1fb7fea sudo should lock its logfile 1999-08-04 17:32:24 +00:00
Todd C. Miller
16ab377018 o Add '!' correctly when expanding Aliases.
o Add shortcut macros for append() to make things more readable.
o The separator in append() is now a string instead of a char.
o In append(), only prepend the separator if the last char is not a '!'.
  This is a hack but it greatly simplifies '!' handling.
o In -l mode, Runas lists and NOPASSWD/PASSWD tags are now inherited
  across entries in a list (matches current behavior).
o Fix formatting in -l mode such that items in a list are separated by
  a space.  Greatlt improves readability.
o Space for name field in struct aliasinfo is now allocated dyanically
  instead of using a (big) buffer.
o In add_alias(), only search the list once (lsearch instead of lfind + lsearch)
1999-08-04 17:28:47 +00:00
Todd C. Miller
0d5a675f5b regen 1999-08-04 15:31:47 +00:00
Todd C. Miller
1a4ebcf2f5 Solais pam doesn't require anye xtra setup 1999-08-04 14:54:34 +00:00
Todd C. Miller
716e0b5433 o Simpler '!' support now that the lexer deals with multiple !'s for us.
o In the case of opFOO, have FOO give a boolean return value and set
  foo_matches in opFOO, not FOO.
o Treat 'ALL' as a string since it gets fill()'d in parse.lex--fixes a
  small memory leak.  In the long run it may be better to just fix parse.lex
  and make ALL back into a token.  However, having it be a string is useful
  since it can be easily passed back to the parent rule if we so desire.
1999-08-04 09:35:56 +00:00
Todd C. Miller
d1a6fa810e o Remove some unnecessary backslashes
o collapse multiple !'s by using !+ and checking if yyleng is even or odd.
  this allows us to simplify ! handling in parse.yacc
1999-08-04 07:54:34 +00:00
Todd C. Miller
014bd22934 -u flag was being ignored 1999-08-04 07:53:04 +00:00
Todd C. Miller
3fc0ab7680 correct fix 1999-08-01 17:04:05 +00:00
Todd C. Miller
896c2748e1 work around pod2man stupididy 1999-08-01 16:37:07 +00:00
Todd C. Miller
3e8a6d4962 correct dependencies for .cat 1999-08-01 16:35:06 +00:00
Todd C. Miller
762fb6a664 regen 1999-08-01 16:26:16 +00:00
Todd C. Miller
29974bceb3 Add copyright
Update to reality
1999-08-01 16:25:25 +00:00
Todd C. Miller
6b3909c780 rename validate() to the more descriptive sudoers_lookup() 1999-08-01 15:42:12 +00:00
Todd C. Miller
ef4302501f use tgetpass 1999-08-01 10:49:41 +00:00
Todd C. Miller
ff7b468661 updates 1999-07-31 16:32:56 +00:00
Todd C. Miller
5a51e05e63 Sudo, not CU Sudo 1999-07-31 16:31:27 +00:00
Todd C. Miller
fa26399ae1 add 4th term to license similar to term 5 in the apache license 1999-07-31 16:20:10 +00:00
Todd C. Miller
1a89248e42 add 4th term to license similar to term 5 in the apache license 1999-07-31 16:19:51 +00:00
Todd C. Miller
0d732401f4 add 4th term to license similar to term 5 in the apache license 1999-07-31 16:19:50 +00:00
Todd C. Miller
40c228aa7b add 4th term to license similar to term 5 in the apache license 1999-07-31 16:19:45 +00:00
Todd C. Miller
ca8eb6f2aa add 4th term to license similar to term 5 in the apache license 1999-07-31 16:19:45 +00:00
Todd C. Miller
794f537eef there was a 1995 release too 1999-07-31 16:02:13 +00:00
Todd C. Miller
46e856500b updates 1999-07-28 09:24:45 +00:00
Todd C. Miller
0804f1786b Use dirs instead of files for timestamp. This allows tty and non-tty
schemes to coexist reasonably.  Note, however, that when you update
a tty ticket, the mtime on the user dir gets updated as well.
1999-07-28 09:21:00 +00:00
Todd C. Miller
0368b9e612 Fix getprpwnam() checking on SCO. Need to link with "-lprot -lx" when
linking test program, not just -lprot.  Also add check for getspnam().
The SCO docs indicate that /etc/shadow can be used but this may be a lie.
1999-07-28 09:17:14 +00:00
Todd C. Miller
234f718e49 first cut at auth API description 1999-07-24 07:35:42 +00:00
Todd C. Miller
a1e0a8180a auth API change. There is now an init method that gets run before
the main loop.  This allows auth routines to differentiate between
initialization that happens once vs. setup that needs to run each time
through the loop.
1999-07-22 19:48:27 +00:00
Todd C. Miller
8d72a57eb9 use easprintf() and evasprintf() 1999-07-22 16:23:13 +00:00
Todd C. Miller
fd410d4bcb add easprintf() and evasprintf(), error checking versions of asprintf() and vasprintf() 1999-07-22 16:22:47 +00:00
Todd C. Miller
c8962786f4 remove 2 items. One done, one won't do. 1999-07-22 13:14:31 +00:00
Todd C. Miller
7126759483 regen 1999-07-22 13:12:27 +00:00
Todd C. Miller
4c7239fd97 regen 1999-07-22 13:11:16 +00:00
Todd C. Miller
2ffac7eb41 new changes 1999-07-22 13:06:48 +00:00
Todd C. Miller
0e2cc2b7a8 o Document -K flag and update meaning of -k flag.
o BSD-style copyright
o Document clearing of BIND resolver environment variables
o Clarify bit about shared libs
o suggest rc files create /tmp/.odus if your OS gives away files
1999-07-22 13:01:20 +00:00
Todd C. Miller
3cbcd52f9a BSD license 1999-07-22 12:59:37 +00:00
Todd C. Miller
6ccee0f5b2 BSD-style copyright 1999-07-22 12:58:52 +00:00
Todd C. Miller
dd312cee2f o BSD copyright
o no need to block signals, we now do that in main()
o cosmetic changes
1999-07-22 12:58:39 +00:00
Todd C. Miller
4dc01cc916 o BSD-style copyright
o Use "struct sudo_user" instead of old globals.
o some cometic cleanup
1999-07-22 12:57:47 +00:00
Todd C. Miller
5fbc12d529 BSD-style copyright 1999-07-22 12:56:50 +00:00
Todd C. Miller
95179ddffe o BSD copyright
o logging and parser bits moved to their own .h files
o new "struct sudo_user" to encapsulate many of the old globals.
1999-07-22 12:56:28 +00:00