[10750] in Athena Bugs
decmips 7.6C: /bin/login
daemon@ATHENA.MIT.EDU (Albert Dvornik)
Wed Aug 11 04:55:43 1993
From: "Albert Dvornik" <bert@MIT.EDU>
To: bugs@MIT.EDU
Date: Wed, 11 Aug 93 04:55:15 EDT
System name: podge
Type and version: KN02ca 7.6C (1 update(s) to same version)
Display type: PMAG-DV
What were you trying to do?
run /bin/login
What's wrong:
/bin/login doesn't deal with umasks properly.
if the username given to /bin/login doesn't already exist in
the passwd file, and my shell has umask set to 077,
/etc/passwd turns fascist (mode 600). This happens twice:
once when adding the entry (on login), once when removing it
(on logout).
What should have happened:
the code should set its umask.
/etc/passwd should have remained mode 644.
Please describe any relevant stuff:
This occurs on decmips under 7.4H as well.
I hate unexplicable "intruder alert" warnings.