[1528] in SIPB_Linux_Development

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

Re: Linux/Athena login ignores/deletes empty home dir

daemon@ATHENA.MIT.EDU (Derek Atkins)
Mon Nov 18 18:08:33 1996

To: Eliot Frank <eliot@LEES-RIF.MIT.EDU>
Cc: linux-dev@MIT.EDU, linux-help@MIT.EDU
From: Derek Atkins <warlord@MIT.EDU>
Date: 18 Nov 1996 18:06:04 -0500
In-Reply-To: Eliot Frank's message of Fri, 15 Nov 96 19:03:39 EST

Eliot Frank <eliot@LEES-RIF.MIT.EDU> writes:

[snip]
> Is the above behavior normal?  Why would a directory ever get deleted
> when logging in?

Yes, this is normal behavior.. It is left in as history from when
homedirs where NFS mountpoints.  It is assumed that you have at least
a .cshrc in your homedir, and if you don't Login things it's a turd
from a failed NFS unmount.  Basically it tries to remove your homedir
via rmdir().  If it succeeds, it concluded it was a turd.  If it
fails, it assumes you have a local homedir.

So, keep something in your homedir, like a .cshrc or .bashrc file!

> Another question: Where is the source for /bin/athena/login?  Can it
> be recompiled using shadow files as is done on the Athena SUN workstations? 

/mit/sipb-athena/src/login/Linux.  I do not believe it has support for
shadow passwords.  However, in the future we'd like to use PAM for
Athena login support... Once that happens we wont replace RedHat's
login anymore.

> -Eliot (ehfrank@mit)
> 

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board (SIPB)
    Home page: http://www.mit.edu:8001/people/warlord/home_page.html
       warlord@MIT.EDU    PP-ASEL     N1NWH    PGP key available

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