[829] in SIPB_Linux_Development

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

Re: Source to Linux login with Athena mods.

daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Dec 7 09:36:20 1994

To: sam@tx.ncsu.edu
Cc: linux-dev@MIT.EDU
In-Reply-To: Your message of "Wed, 07 Dec 1994 06:23:42 EST."
             <9412071123.AA04398@nelson.tx.ncsu.edu> 
Date: Wed, 07 Dec 1994 09:36:01 EST
From: Greg Hudson <ghudson@MIT.EDU>


> I have been told that someone has modified the Linux login to
> use Kerberos, Hesiod, AFS. Where can I find this source.

We've modified the Linux /bin/login to:

	* Authenticate using Kerberos.  Depending on the existence or
nonexistence of /etc/noremote and /etc/nocreate, entries in
/etc/passwd will be automatically generated using hesiod information
for users who don't already exist in /etc/passwd.

	* Attach the user's home directory as listed by hesiod, using
the Athena "attach" program.

This doesn't actually "use AFS," although attach often creates
symbolic links into AFS.

We haven't officially released this version of /bin/login, but it
works fine for me.  You should be able to find source via NFS in

	sipb-nfs.mit.edu:/u2/lockers/linux-athena

(This kind of thing will eventually move to
/afs/sipb/project/sipb-athena.)

Incidentally, the login.krb program from the Kerberos distribution
will authenticate using Kerberos for users who already have local
accounts.  (You have to change one line in the source to get it to
accept Kerberos authentication without also matching the /etc/passwd
entry, but that's no big deadl.)  This may be enough for you.


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