'su username' in ksh occasionally hang [SunOS 4.0.x on Sparc]

Amos Shapir amos at taux01.nsc.com
Tue May 29 18:09:10 AEST 1990


In article <8194 at brazos.Rice.edu> eho at clarity.princeton.edu (Eric Ho) writes:
>
>A way out is to do a ctrl-c to get out of su.  And if you want to try 'su
>usrname' later, you must logout entirely first, log back in and then you
>can do 'su username' again.

This symptom arises the suspicion that something is wrong with the ksh
environment (logging out & back resets it).  Check if you didn't manage to
create an alias or a function named 'su' - i.e. next time this happens, do
'type su' and check if it still points to /bin/su.  (Coming to think of
it, this may be a viral password-catcher planted in your home dir!)

	Amos Shapir		amos at taux01.nsc.com, amos at nsc.nsc.com
National Semiconductor (Israel) P.O.B. 3007, Herzlia 46104, Israel
Tel. +972 52 522408  TWX: 33691, fax: +972-52-558322 GEO: 34 48 E / 32 10 N



More information about the Comp.sys.sun mailing list