zhang@uunet.uu.net (Ning Zhang) (04/25/89)
On SunOS 3.5 and Ultrix (2.x and 3.0) systems here, su(1) still cannot correctly track super-user log. On Ultrix, the follow shows su(1) tells nothing about who has become a super-user or who has tried su(1) command but failed. su < /dev/tty Then a message like "SU: /dev/tty" will be printed out on console, and "SU: /dev/tty Wed Apr 5 12:25:40 1989" in /usr/adm/sulog. Any comments? Perhaps, Ultrix's su(1), rexecd(8), rshd(8), etc. should do more checking. On SunOS 3.5, I got "SU: (null) /dev/tty" on console. Ning Zhang PS: su "" < /dev/tty if there is a line "::0:0:::" in /etc/passwd!
pearce@tycho.yerkes.uchicago.edu (Eric C. Pearce) (05/06/89)
A similar su bug exists if you su from inside a Gnu emacs subshell, the su attempt is then from "(null)". - Ecp Eric C. Pearce, Yerkes Observatory, University of Chicago. pearce@tycho.yerkes.uchicago.edu or pearce@oddjob.uchicago.edu