Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Doing 'su -' hangs on 5.7

1 view
Skip to first unread message

Kirsten

unread,
May 3, 2000, 3:00:00 AM5/3/00
to
Can anyone give me some clues as to why trying this command hangs? I can
switch to other user accounts on this box without problem. Box is
running as NIS master.

Cheers


Horst Scheuermann

unread,
May 4, 2000, 3:00:00 AM5/4/00
to

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! ~~~~~~~~~~~~

Kirsten

unread,
May 5, 2000, 3:00:00 AM5/5/00
to Horst Scheuermann
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.

Really confused - why would su - root hang when its home dir is picked up
locally?

Thanks
Kirsten

Horst Scheuermann

unread,
May 8, 2000, 3:00:00 AM5/8/00
to
On Fri, 5 May 2000, Kirsten wrote:

> 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


Message has been deleted
0 new messages