Hi, Sun Managers:
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)
HRSVENER@cobblr.gsfc.nasa.gov
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)
raoul@MIT.EDU
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:15 CDT