[20] in NetBSD-Development

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

Cool new xlogin hack added

daemon@ATHENA.MIT.EDU (Salvatore Valente)
Wed Jul 20 07:45:35 1994

Date: Wed, 20 Jul 94 07:44:39 -0400
To: netbsd-dev@MIT.EDU
From: Salvatore Valente <svalente@MIT.EDU>


In a futile attempt to be able to log into lola, I added the following
hack to xlogin:

After it gets your hesiod info, it checks your shell against a file
"/etc/athena/shellcvt".  If your shell matches a shell listed there,
it changes your shell to the corresponding shell listed there.

To put it simply: people with /afs/sipb/project/tcsh/tcsh will get
/usr/local/bin/tcsh and people with /afs/sipb/project/gnu/bash will
get /usr/local/bin/bash (which, by the way, I built and installed.)

The source is RCS checked in, the binary is installed, it's mostly
untested, play with it.

Now for the bad news: it didn't actually help me log in.  Because:
along with having /afs/sipb/project/tcsh/tcsh listed in my hesiod
information, I also have "setenv SHELL /afs/sipb/project/tcsh/tcsh" in
my .environment.  I suspect most other sipb-tcsh users have this in
their .environment, which makes my hack completely worthless.

But it's still a cool hack.

Have a nice day.
-Sal.

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