login on SunOS4.1.x
The answer for host specific login scripts with one
shared home directory:
1) Force the user to take a shell, which sources /etc/profile,
/etc/login or something. ( bash tcsh )
2) Add the following lines in your users .login and .cshrc
.login:
if ( -f /etc/sys.login ) then
source /etc/sys.login
endif
.cshrc:
if ( -f /etc/sys.cshrc ) then
source /etc/sys.cshrc
endif
and do there what ever you want :-)
I did 2) and it works.
many thanks to:
lbd@mhcnet.att.com (Leslie_B_DreyerKalra)
Kevin.Sheehan@uniq.com.au (Kevin Sheehan {Consulting Poster Child})
Nate Itkin <Nate-Itkin@ptdcs2.intel.com>
bern@TI.Uni-Trier.DE (Jochen Bern)
Serkan Cil <cil@bilkent.edu.tr>
jhar2572@pacesetter.se (Joakim Hartikainen)

