[10633] in Athena Bugs

home help back first fref pref prev next nref lref last post

decmips 7.4H: enscript returns segmentation violation if not in passwd file

daemon@ATHENA.MIT.EDU (Keith `M' Swartz)
Mon Jun 28 15:26:39 1993

To: bugs@Athena.MIT.EDU
Date: Mon, 28 Jun 93 15:26:30 EDT
From: Keith `M' Swartz <solo26@Athena.MIT.EDU>

System name:		momoney
Type and version:	KN02ca 7.4H (3 update(s) to same version)
Display type:		PMAG-DV 

What were you trying to do?
	enscript a file

What's wrong:
	User is not in the passwd file (whoami returns "Intruder alert.")
	enscript subsequently returned a segmentation violation.

What should have happened:
	Well, lpr returns an error like so:

		"lpr printername: Who are you?"

	indicating the problem in a cryptic, but I believe, clear manner.
	Enscript should do the same, or return SOME error, but not a seg
	violation.  The only thing worse is a core dump, and there's no
	reason for a program to ever do either.

Please describe any relevant documentation references:
	man enscript, lpr (error is only mentioned in sources, though)


home help back first fref pref prev next nref lref last post