From: sthen Date: Sat, 19 Mar 2022 10:28:38 +0000 (+0000) Subject: backout r1.86 "login class routing table should be honored when doing X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=093e9c3fa60c136e6ccdfcb9fc03acade0aa2307;p=openbsd backout r1.86 "login class routing table should be honored when doing a full login with su -l", it breaks rc.d(8) daemon_rtable --- diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c index 69774d120ac..fb748b8cd81 100644 --- a/usr.bin/su/su.c +++ b/usr.bin/su/su.c @@ -1,4 +1,4 @@ -/* $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. @@ -355,8 +355,6 @@ main(int argc, char **argv) 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; }