Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2020 13:44:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250691] mail/fetchmail: Bad -c option
Message-ID:  <bug-250691-7788-O8pBHSdhlA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250691-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250691-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250691

--- Comment #3 from Corey Halpin <chalpin@cs.wisc.edu> ---
On the affected machine, what is root's login shell?

Are there entries in the affected machine's /etc/login.conf that would appl=
y to
the `sh` login class?

For what it's worth, 'Bad -c option' does not come from `su`, but from `sh`
when the given command is empty. In 12.1, it's coming from `bin/sh/options.=
c`
line 199:
https://svnweb.freebsd.org/base/release/12.1.0/bin/sh/options.c?view=3Dmark=
up#l199
.  It's what one would get when running `sh -c` without actually providing =
any
argument to the -c option.

What I can't (yet) figure out is how that could happen given the information
you've provided.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250691-7788-O8pBHSdhlA>