[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: NIS tcsh question



inlcuded these two lines in NIS server ~/.tcshrc file:
echo -n "\033]0;${HOST}:$cwd\007"
alias cd 'chdir \!*; echo -n "\033]0;${HOST}:$cwd\007"'

when logging in from NIS client, I do not see two
lines doing anything.
but, within a telnet session they work fine.


The NIS client must mount the NFS server's version of your home
directory for that to work.  I suspect you're only using the NIS server
for authentication and using the NIS client's local filesystem.



well, on client there is no local home. (did on client , mv /home /home.sav).
server home is mounted on client /home (/home->/nfs/home)
according to /etc/fstab file. ??

I don't buy that. Did you check the "mount" command itself? Is it really mounted?

yes, indeed. xxx.xxx.xxx.xxx:/home /home nfs etc...

i made /nfs/home and did the
mv /home /home.sav
ls -n /home /nfs/home
added the
xxx.xxx.xxx.xxx:/home   /home   nfs  etc...
to /etc/fstab file.
everything in the remote ./tchsrc works except the lines:
echo -n "\033]0;${HOST}:$cwd\007"
alias cd 'chdir \!*; echo -n "\033]0;${HOST}:$cwd\007"'.

these lines modify the terminal title. like i said, when within
a telnet login session it works but within nis login it won't. both logins
show same remote .tcshrc file ("cat .tcshrc"). maybe, i am wrong but this is what i see.
my local passwd file has no such userid. maybe nsswitch.conf related.......???
gj


_________________________________________________________________
MSN 9 Dial-up Internet Access helps fight spam and pop-ups ? now 2 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]