Commit Graph

206 Commits

Author SHA1 Message Date
Todd C. Miller
0c690ddb86 added a comment 1995-09-01 04:03:32 +00:00
Todd C. Miller
723998be9c now say command args if telling user to buzz off 1995-08-19 23:30:56 +00:00
Todd C. Miller
a7260a073a now sets tty correctly when piped input 1995-08-14 03:39:05 +00:00
Todd C. Miller
bf3ef98bae fixed a core dump due to incorrect if construct 1995-08-14 03:34:36 +00:00
Todd C. Miller
f912e0d989 now dynamically allocate logline since we can guess at its
size
1995-08-13 04:31:41 +00:00
Todd C. Miller
8163d81ab0 cleaned up a bunch of unnecesary #ifdef's
eliminated a buffer
remove "register" since the compiler knows more than I do
now do a "basename" of the tty
1995-08-05 17:52:10 +00:00
Todd C. Miller
b42c06bb1f removed a bunch of unnecesary strncpy()'s and replaced with strcat() 1995-07-30 18:38:19 +00:00
Todd C. Miller
8a13a1ce61 GLOBAL_NO_AUTH_ENT -> GLOBAL_NO_SPW_ENT 1995-07-17 18:29:47 +00:00
Todd C. Miller
aac8b5fc95 added BROKEN_SYSLOG support 1995-07-12 21:05:47 +00:00
Todd C. Miller
05bea6375c added BAD_STAMPDIR and BAD_STAMPFILE 1995-07-06 18:48:14 +00:00
Todd C. Miller
b377600890 added cast for ttyname() 1995-06-19 20:10:34 +00:00
Todd C. Miller
9a22c6ba1d added tty logging 1995-06-18 22:05:50 +00:00
Todd C. Miller
0b47223468 added SPOOF_ATTEMPT suypport 1995-06-15 04:47:30 +00:00
Todd C. Miller
7f5a33a01e now deals with Argv == 1 1995-06-08 01:36:02 +00:00
Todd C. Miller
f200df0029 send_mail() was calling find_path() which is wrong since find_path()
stores cmnd in a static var.  Anyhow, it doesn't make much sense
since MAILER should always be fully qualified
1995-04-11 04:38:34 +00:00
Todd C. Miller
27b183432b 1024 -> BUFSIZ 1995-04-10 19:07:54 +00:00
Todd C. Miller
c1e520bbcf added PASSWORDS_NOT_CORRECT 1995-04-01 01:33:11 +00:00
Todd C. Miller
37966f0dae added entries for new errors 1995-03-30 04:45:57 +00:00
Todd C. Miller
222d260765 bzero -> memset
when a parse error is logged the line number of the error is now logged
too
1995-03-30 02:47:00 +00:00
Todd C. Miller
839b5e7ffd now gives host 1995-03-28 20:26:30 +00:00
Todd C. Miller
ee49c5c242 changed to use new find_path() 1995-03-26 06:17:19 +00:00
Todd C. Miller
9116e4558f changed to use new find_path() parameter passing 1995-01-16 21:33:39 +00:00
Todd C. Miller
db8b50d821 now includes options.h 1995-01-11 23:43:45 +00:00
Todd C. Miller
e4452a2ed0 changed #ifdef's to use LOGGING and SLOG_SYSLOG/SLOG_FILE 1995-01-11 23:36:53 +00:00
Todd C. Miller
fe8b92ba4d be_* -> setperms() 1994-11-08 01:38:44 +00:00
Todd C. Miller
525954e1b2 changed sudo-bugs.cs.colorado.edu -> sudo-bugs@cs.colorado.ed 1994-09-02 19:54:28 +00:00
Todd C. Miller
89d6f49371 added host to alertmail messages 1994-09-01 19:55:28 +00:00
Todd C. Miller
ad6f7a488f fixed logging problem where mail would not say which user it was 1994-09-01 19:26:37 +00:00
Todd C. Miller
835b10be21 added ninclude of netinet/in.h 1994-08-12 01:58:58 +00:00
Todd C. Miller
91970b4182 moved send_mail to after syslog 1994-08-03 16:08:49 +00:00
Todd C. Miller
2624e7ee72 be_root/be_user is now down in sudo_realpath() 1994-07-25 22:32:30 +00:00
Todd C. Miller
7b70cafbb2 now works with 4.2BSD syslog (blech) 1994-07-25 22:26:33 +00:00
Todd C. Miller
be65371922 can now log to both syslog & a file 1994-07-14 16:33:11 +00:00
Todd C. Miller
f3cd23eee0 can now have MAILER undefined 1994-07-07 18:44:21 +00:00
Todd C. Miller
93279eeafc convex c2 stuff 1994-07-07 00:08:01 +00:00
Todd C. Miller
e066e7b2fc moved #endif to where it belongs 1994-06-06 23:59:12 +00:00
Todd C. Miller
369cf760d9 added posix signals 1994-06-06 20:57:25 +00:00
Todd C. Miller
7e8d543af2 changed mail_argv[] def
now use EXEC() macro
1994-05-29 22:36:19 +00:00
Todd C. Miller
ebae58f1ea added prototypes 1994-05-28 19:13:27 +00:00
Todd C. Miller
dbe2a6eafe mail_argv is now a const 1994-05-25 03:07:59 +00:00
Todd C. Miller
0745d60145 moved cwd into load_globals 1994-05-24 20:18:10 +00:00
Todd C. Miller
f1dd6045c9 reinstall reapchild signal handler for non-bsd signals 1994-05-24 16:13:26 +00:00
Todd C. Miller
6a83afd8e2 udpated version 1994-03-12 18:55:39 +00:00
Todd C. Miller
1ed1db9cf3 updated to work with configure + pathnames.h 1994-03-12 18:36:53 +00:00
Todd C. Miller
e28f029382 renamed exec_argv to eliminate a libc name clash with ksros 1994-02-28 05:36:29 +00:00
Todd C. Miller
eea6d47b7f execve -> execv 1994-02-28 05:27:51 +00:00
Todd C. Miller
75e0a9c4a7 now opens log file with mode 077 1994-02-28 01:55:35 +00:00
Todd C. Miller
17fa431e53 split long log lines. FOr syslog, split into multiple entries, for a
log file, indent the extra for readability
1994-02-28 01:35:29 +00:00
Todd C. Miller
d2bed77ff8 now uses execvp() OR execve() 1994-02-16 18:35:31 +00:00
Todd C. Miller
828bb5cec9 more verbose error if mailer not found 1994-02-09 03:02:57 +00:00