[sudo-commits] sudo changeset 10815:d4f6822ba9bb
Todd C. Miller
Todd.Miller at courtesan.com
Sat Jan 21 16:45:28 MST 2017
changeset: 10815:d4f6822ba9bb in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/d4f6822ba9bb
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Sat Jan 21 16:43:46 2017 -0700
Log Message:
Add support for digest matching when the command is a glob-style
pattern or a directory. For example:
millert ALL = sha224:TmUvLkp3a2txliSC2X6CiK42626qdKsH72m/PQ== /bin/
millert ALL = sha224:TmUvLkp3a2txliSC2X6CiK42626qdKsH72m/PQ== /bin/*
would only match /bin/ls (assuming the digest matches).
Previously, only explicit path matches checked the digest.
diffstat:
plugins/sudoers/match.c | 152 +++++++++++++++++++++++++++++++++--------------
1 files changed, 105 insertions(+), 47 deletions(-)
More information about the sudo-commits
mailing list