a full login with su -l", it breaks rc.d(8) daemon_rtable
-/* $OpenBSD: su.c,v 1.86 2022/03/15 17:13:50 solene Exp $ */
+/* $OpenBSD: su.c,v 1.87 2022/03/19 10:28:38 sthen Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
flags &= ~LOGIN_SETLOGIN;
} else {
flags = LOGIN_SETRESOURCES|LOGIN_SETGROUP|LOGIN_SETUSER;
- if (!asme)
- flags |= LOGIN_SETRTABLE;
if (asthem)
flags |= LOGIN_SETENV|LOGIN_SETPRIORITY|LOGIN_SETUMASK;
}