authpolicy: Allow turning off anonymizer in dev mode |
||||
Issue descriptionIt'll help debugging.
,
Mar 8 2018
,
Mar 15 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform2/+/4ae65349e501dc9486918daeeedc2256b870bdec commit 4ae65349e501dc9486918daeeedc2256b870bdec Author: Lutz Justen <ljusten@chromium.org> Date: Thu Mar 15 22:27:38 2018 authpolicy: Add a way to disable log anonymizer Adds a flag to disable the log anonymizer. This is strictly a debug only flag. It can only be set on a Chromebook in dev mode and writeable rootfs with echo '{"disable_anonymizer":true}' > /etc/authpolicyd_flags The crosh command authpolicy_debug never sets it since this command is available for everyone and in non-dev mode. BUG= chromium:776675 TEST=cros_run_unit_tests --board=amd64-generic --packages authpolicy Tested on device Change-Id: I99106aa7d1efa6b8c8cfb6bd8c3411a2f7fd9606 Reviewed-on: https://chromium-review.googlesource.com/955643 Commit-Ready: Lutz Justen <ljusten@chromium.org> Tested-by: Lutz Justen <ljusten@chromium.org> Reviewed-by: Roman Sorokin <rsorokin@chromium.org> [modify] https://crrev.com/4ae65349e501dc9486918daeeedc2256b870bdec/authpolicy/anonymizer.cc [modify] https://crrev.com/4ae65349e501dc9486918daeeedc2256b870bdec/authpolicy/samba_interface.cc [modify] https://crrev.com/4ae65349e501dc9486918daeeedc2256b870bdec/authpolicy/authpolicy_flags_unittest.cc [modify] https://crrev.com/4ae65349e501dc9486918daeeedc2256b870bdec/authpolicy/anonymizer.h [modify] https://crrev.com/4ae65349e501dc9486918daeeedc2256b870bdec/authpolicy/authpolicy_flags.cc [modify] https://crrev.com/4ae65349e501dc9486918daeeedc2256b870bdec/authpolicy/proto/authpolicy_containers.proto [modify] https://crrev.com/4ae65349e501dc9486918daeeedc2256b870bdec/authpolicy/anonymizer_unittest.cc
,
Mar 19 2018
,
Apr 12 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by ljusten@chromium.org
, Mar 8 2018CL:955643 To disable anonymizer, must be in dev mode with rootfs verification disabled. Just enter: echo '{"disable_anonymizer":true}' > /etc/authpolicyd_flags I didn't bother adding a crosh command or similar for that.