From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,e5a0c4c2a31cce2,start X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,697f03035701b15c X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-04-29 04:02:26 PST Xref: gmd.de comp.sys.dec:7367 comp.unix.ultrix:8930 Newsgroups: comp.sys.dec,comp.unix.ultrix Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!ira.uka.de!math.fu-berlin.de!risc4!meyer From: meyer@risc4.physik.fu-berlin.de (Sebastian Meyer) Subject: Re: Bug in 'su' under Ultrix 4.3 Message-ID: <9E1CB8WG@math.fu-berlin.de> Sender: news@math.fu-berlin.de (Math Department) Organization: Free University of Berlin, Germany References: <1993Apr28.095535@ceres.rm.fccc.edu> Date: Thu, 29 Apr 1993 10:55:07 GMT In comp.sys.dec smrosen@ceres.rm.fccc.edu (Steve Rosen) writes: >I found glitch in 'su' running under 4.3 where it accepts the typed password and >then just hangs. There appears to be a permission problem of some sort, but I >can't find anything specific. After talking with DEC C/S, their fix was to >reboot the machine and it goes away. This is true, but the problem always >returns in time. Anybody know what the permanent fix is for this? Two possible reasons I know of: su tries to log to /dev/console and to syslog. - Every now and then /dev/console just vanishes elsewhere (after kill -9 for instance). Any process trying to write to /dev/console will hang. Killing the X Server usually helps, if not: reboot. - If your /var filesystem is full syslog will have problems... My workaround: Keeping a suid-to-root program handy which forks your favourite shell avoids su. Be careful about it's permissions and don't forget the root password after getting used to this.... ;-) sebastian -- __o Sebastian Meyer Tel: 030/838-5181| FU Berlin, Physik _ \<,_ meyer@risc4.physik.fu-berlin.de | Arnimallee 14 [Raum 1.3.35] (_)/ (_) bastel@zaphod.physik.fu-berlin.de | D-1000 Berlin 33 ~~~~~~~~~~ "To err is human, to really foul things up requires a computer"