[3407] in Athena Bugs

home help back first fref pref prev next nref lref last post

6.3B all platforms: login and AFS

daemon@ATHENA.MIT.EDU (Robert S. French)
Thu Oct 12 17:32:03 1989

Date: Thu, 12 Oct 89 17:31:45 -0400
From: "Robert S. French" <rfrench@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU

There is a problem in the distributed login if your home directory is
on AFS and not world readable.  Login attaches your homedir, and then
tried to "cd" to it (as root), assuming that root can cd anywhere that
a user can.  This isn't true under AFS.  The chdir fails, and it logs
you in with "homedir = /", even though your home directory is in fact
there and perfectly useable.  The only fix I can think of is to move
the chdir outside of the login loop to after the point where the
setuid is done.  I don't see any other problems this would cause.
I'll provide patches if someone wants them.

			Rob

home help back first fref pref prev next nref lref last post