bluhm d8362b89f5 Use setresuid/gid() directly to change user and group. Otherwise
Suricata uses libcap-ng on Linux and runs as root elsewhere.
Switch to _suricata user and group in config to avoid running as root.
To remove pid file its directory must be writable by suricata user.
Fix pid file removal if it is specified in config file.
setresuid()/gid() patch from Emmanuel Roullit
OK gonzalo@
2019-03-05 12:38:23 +00:00
..
2016-08-30 06:21:31 +00:00
2019-02-23 22:23:25 +00:00
2018-03-05 09:23:43 +00:00
2019-01-16 12:53:23 +00:00
2018-07-30 14:07:30 +00:00
2019-01-06 14:50:49 +00:00
2018-09-04 12:46:09 +00:00
2015-10-15 09:46:56 +00:00
2019-01-07 22:49:14 +00:00
2017-07-04 11:09:44 +00:00
2019-01-16 20:12:19 +00:00
2018-09-04 12:46:09 +00:00
2018-02-20 16:41:59 +00:00
2018-11-14 19:10:38 +00:00
2017-05-12 15:29:50 +00:00
2018-03-13 03:50:48 +00:00
2017-08-22 11:11:56 +00:00
2019-02-15 20:50:40 +00:00
2017-08-25 07:20:08 +00:00
2019-03-04 10:14:58 +00:00
2018-07-10 13:30:21 +00:00
2017-02-27 19:15:32 +00:00
2018-08-08 07:07:25 +00:00
2019-01-28 06:33:34 +00:00
2017-08-29 17:00:33 +00:00
2017-08-29 16:59:02 +00:00
2019-01-23 00:56:46 +00:00
2018-06-27 21:03:34 +00:00
2019-02-19 16:04:43 +00:00
2016-04-28 17:39:53 +00:00
2016-03-11 19:59:11 +00:00
2017-11-20 13:04:09 +00:00
2017-02-27 19:17:12 +00:00
2018-09-04 12:46:09 +00:00
2018-08-24 05:29:22 +00:00
2018-12-20 14:13:17 +00:00
2018-03-08 15:06:55 +00:00
2018-06-16 11:47:06 +00:00
2018-01-31 07:56:52 +00:00
2018-01-23 11:31:22 +00:00
2018-08-10 10:20:21 +00:00
2019-01-29 11:27:44 +00:00
2019-02-18 08:02:04 +00:00
2019-01-07 14:32:28 +00:00
2019-03-04 08:29:59 +00:00
2018-02-09 09:36:04 +00:00
2018-09-04 12:46:09 +00:00
2016-10-11 15:53:26 +00:00
2018-09-08 17:21:14 +00:00
2018-11-01 14:22:42 +00:00
2016-03-11 19:59:11 +00:00
2016-05-07 12:40:56 +00:00
2019-02-01 12:57:24 +00:00
2018-06-29 09:58:56 +00:00
2019-02-25 10:28:41 +00:00
2018-11-16 08:02:25 +00:00
2019-03-03 15:42:55 +00:00
2018-11-20 13:01:08 +00:00
2017-02-26 20:13:05 +00:00
2019-01-26 21:45:43 +00:00
2018-02-20 20:33:11 +00:00
2018-09-09 15:03:58 +00:00
2018-07-10 12:29:21 +00:00
2017-12-01 13:03:59 +00:00
2016-07-30 21:14:00 +00:00
2018-10-23 09:04:01 +00:00
2017-04-20 06:27:49 +00:00
2018-07-30 18:29:13 +00:00
2015-10-29 21:57:11 +00:00
2017-12-04 17:56:27 +00:00
2018-05-16 07:56:09 +00:00
2018-06-23 15:19:21 +00:00
2018-09-07 19:47:09 +00:00
2019-01-12 06:24:56 +00:00
2018-01-18 04:09:40 +00:00
2018-06-20 11:35:20 +00:00
2019-01-19 15:50:39 +00:00
2018-09-07 05:56:09 +00:00
2018-06-23 15:11:23 +00:00
2018-04-14 13:21:41 +00:00
2019-01-28 19:25:11 +00:00
2019-02-22 13:03:46 +00:00
2018-05-04 20:31:30 +00:00
2018-08-16 04:58:17 +00:00
2018-06-04 01:47:30 +00:00
2019-01-08 18:48:39 +00:00
2019-01-02 06:33:17 +00:00
2019-02-18 11:06:22 +00:00
2019-01-27 15:29:47 +00:00
2019-02-04 22:03:51 +00:00
2018-08-10 07:58:24 +00:00
2019-02-15 02:15:57 +00:00
2017-08-14 12:20:57 +00:00
2016-07-04 21:02:08 +00:00
2017-01-12 10:07:03 +00:00
2019-01-02 12:23:27 +00:00
2017-04-30 14:26:13 +00:00
2018-09-04 12:46:09 +00:00
2019-02-13 12:53:45 +00:00
2018-09-04 12:46:09 +00:00
2019-02-07 18:31:00 +00:00
2019-03-03 15:14:49 +00:00
2019-01-29 23:05:21 +00:00
2019-01-13 02:58:15 +00:00
2016-06-15 15:09:25 +00:00
2019-02-01 20:40:43 +00:00
2019-02-13 15:01:34 +00:00
2019-01-03 08:02:25 +00:00
2018-05-30 14:53:35 +00:00
2019-01-31 20:11:23 +00:00
2019-02-26 09:09:17 +00:00
2019-03-03 14:45:15 +00:00
2018-06-03 11:24:30 +00:00
2018-02-16 19:36:55 +00:00