=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/su/su.c,v retrieving revision 1.86 retrieving revision 1.87 diff -u -r1.86 -r1.87 --- src/usr.bin/su/su.c 2022/03/15 17:13:50 1.86 +++ src/usr.bin/su/su.c 2022/03/19 10:28:38 1.87 @@ -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 @@ 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; }