mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 15:44:04 +01:00
Fix for that last fix... pass the hat. :)
This commit is contained in:
parent
c768efa1a8
commit
320ce7b758
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6096
@ -442,8 +442,7 @@ _getyppass(struct passwd *pw, const char *name, const char *map)
|
||||
/* Don't even bother with this if we aren't root. */
|
||||
if (!geteuid())
|
||||
if (_havemaster(_pw_yp_domain)) {
|
||||
sprintf(mastermap,"master.passwd.%s",
|
||||
strstr(map,"byuid") ? "byuid" : "byname");
|
||||
sprintf(mastermap,"master.%s", map);
|
||||
gotmaster++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user