Clarify warning message when failing to configure audit on user login:

when au_user_mask() fails, it's not a failure to set the audit mask,
but to calculate the audit mask -- and hence a condfiguration-file
issue (of some sort).

MFC after:	3 days
Sponsored by:	DARPA, AFRL
This commit is contained in:
Robert Watson 2016-11-30 14:02:36 +00:00
parent 2daeee1a33
commit f534f01f1a

View File

@ -80,7 +80,7 @@ au_login_success(void)
/* Compute and set the user's preselection mask. */
if (au_user_mask(pwd->pw_name, &aumask) == -1)
errx(1, "could not set audit mask");
errx(1, "could not calculate audit mask");
/* Set the audit info for the user. */
auinfo.ai_auid = uid;