NetBSD Problem Report #18442
Received: (qmail 12055 invoked by uid 605); 28 Sep 2002 03:34:09 -0000
Message-Id: <200209280333.g8S3XOB01319@mofo.grunta.com>
Date: Sat, 28 Sep 2002 13:33:24 +1000 (EST)
From: grant@netbsd.org
Sender: gnats-bugs-owner@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: 'su command' without -c results in unexpected behavior
X-Send-Pr-Version: 3.95
>Number: 18442
>Category: bin
>Synopsis: 'su command' without -c results in unexpected behavior
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: grant
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 28 03:35:01 +0000 2002
>Closed-Date: Sun Sep 29 23:21:49 +0000 2002
>Last-Modified: Sun Sep 29 23:22:02 +0000 2002
>Originator: grant beattie
>Release: NetBSD 1.6H
>Organization:
>Environment:
System: NetBSD mofo 1.6H NetBSD 1.6H (MOFO.PROF) #0: Thu Sep 19 00:54:25 EST 2002 grant@mofo:/raid0/netbsd/current/src/sys/arch/i386/compile/MOFO.PROF i386
Architecture: i386
Machine: i386
>Description:
attempting to run 'su' and specify a command without using -c results in
unexpected behavior.
mofo# su user /bin/ls
\215\203^H~\377\377Pj^Bjj^D\350^^: Event not found.
mofo# su user /usr/bin/uptime
^R^G^H^C: Event not found.
>How-To-Repeat:
see above.
>Fix:
unknown. It seems to be a feature that the shell tries to interpret the
argument as a script...
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: grant
State-Changed-When: Sun Sep 29 16:21:22 PDT 2002
State-Changed-Why:
confirmed that this is the expected behavior.
Responsible-Changed-From-To: bin-bug-people->grant
Responsible-Changed-By: grant
Responsible-Changed-When: Sun Sep 29 16:21:53 PDT 2002
Responsible-Changed-Why:
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.