Up to [local] / src / usr.bin / login
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_3_BASE
Revision 1.49 / (download) - annotate - [select for diffs], Wed Oct 16 01:08:56 2002 UTC (21 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3
Changes since 1.48: +61 -39 lines
Diff to previous 1.48 (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.