Cheers
I have the same construction, no hangs. Do You automount a dir for root
which You don't for other Users? Does LD_LIBRARY_PATH point to a
nfs-directory, which can not be mounted? What looks Your nsswitch.conf like?
--
Horst Scheuermann Universitaets-Rechenzentrum Trier __o 16
Universitaetsring 19 D-54286 Trier _`\<,_
Telefon: 0651 201 3436 Telefax: 0651 201 3921 (_)/ (_)
scheu...@uni-trier.de - Often in error; Never in Doubt! ~~~~~~~~~~~~
I can't do a setenv under root to see LD_LIBRARY_PATH and automount within
nsswitch.conf is set to look in files first then nis.
Really confused - why would su - root hang when its home dir is picked up
locally?
Thanks
Kirsten
> Thanks Horst for your response! The home directory for root is / but when I try
> cd /home, this hangs. I know directories from another server are automounted to
> /home and have tried restarting the automount daemon but keep getting the
> message that /home cannot be umounted as its busy (doing fuser gives no info).
>
> I can't do a setenv under root to see LD_LIBRARY_PATH and automount within
> nsswitch.conf is set to look in files first then nis.
>
setenv is for csh not for /sbin/sh, try env
LD_LIBRARY_PATH has nothing to do with nsswitch.conf, it's the searchpath
for loadable libraries, if a directory, which's mount will hang is in this
list, any command will hang.
> Really confused - why would su - root hang when its home dir is picked up
> locally?
>
Can you get in at console? try to trace Your profiles (enter set -xv in
/etc/profile)
--
Horst Scheuermann Universitaets-Rechenzentrum Trier __o 16
Universitaetsring 19 D-54286 Trier _`\<,_
Telefon: 0651 201 3436 Telefax: 0651 201 3921 (_)/ (_)
scheu...@uni-trier.de - Often in error; Never in Doubt! ~~~~~~~~~~~~
http://www.uni-trier.de/~scheuerm
PGP Key fingerprint = 26 0E 77 0D 70 E5 D6 1C 7F 52 4D 4F 21 51 1F B5