[1527] in SIPB_Linux_Development
Linux/Athena login ignores/deletes empty home dir
daemon@ATHENA.MIT.EDU (Eliot Frank)
Fri Nov 15 19:04:19 1996
Date: Fri, 15 Nov 96 19:03:39 EST
From: Eliot Frank <eliot@LEES-RIF.MIT.EDU>
To: linux-dev@MIT.EDU, linux-help@MIT.EDU
I have installed (RedHat 4.0) Linux/Athena for use as a multiuser
system. I created an account (my own!) with a local home directory,
i.e., /u/ehfrank, using hesinfo to add the password info to
/etc/passwd but changing the home directory to /u/ehfrank.
/etc/noremote, /etc/nocreate, and /etc/noattach exist.
The directory is empty. When I login, I get the error messages,
Warning: unable to attach home directory.
Can't find or build home directory! Logging in with home=/
and I start out in the / directory. If I have a file in the home
directory or if /etc/noattach is deleted, I can login fine, no error
messages and I end up in the correct directory. A more serious matter,
if I log in via (encrypted) telnet, the directory gets DELETED if it
is empty and regardless whether /etc/noattach exists.
Another scenario is that I created a local account (a user unknown to
kerberos), with a password in the local password file /etc/passwd.
I again get the above errors (and end up in /) if the home directory
is empty but this time regardless whether /etc/noattach exists.
Is the above behavior normal? Why would a directory ever get deleted
when logging in?
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?
-Eliot (ehfrank@mit)