Up to [local] / src / usr.bin / login
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_3
Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 16 01:08:56 2002 UTC (21 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)
Remove the setuid bit from /usr/bin/login. If login is run by a user with a non-zero euid, it will now exec "su -L -l". The only things that need to do this are shells with a "login" builtin and the emulation that su(1) now does is good enough for this purpose.