[Pkg-shadow-devel] Bug#317264: login: Current su breaks pbuilder

Helmut Waitzmann (Debian Bug Tracking System) "Helmut Waitzmann" (Debian Bug Tracking System) <Helmut.Waitzmann@web.de>, 317264@bugs.debian.org
Mon, 11 Jul 2005 17:44:10 +0200


Junichi Uekawa <dancer@netfort.gr.jp> writes:

>Why is su changing behavior?

Old su doesn't meet its specifications (i.e. manual page).  Please see
Bug#276419 for a detailed discussion.

For example, according to the su manual page,

$ su - userid -xs 'startup parameter'

should start an interactive login shell with debug mode switched on and
supply the additional positional argument "startup parameter" to it
rather than starting an noninteractive login shell with the positional
arguments "-c" "-xs startup parameter", i.e. a commandline
"-xs startup parameter" and no additional positional arguments.

With (old) su, you cannot pass additional positional arguments and
options (other than "-c") to the shell.

>I have concerns wrt shell quoting,

Could you please explain more detailed?

Best regards,

Helmut
-- 
Wenn Sie mir E-Mail schreiben, stellen |  When writing me e-mail, please
Sie bitte vor meine E-Mail-Adresse     |  precede my e-mail address with
meinen Vor- und Nachnamen, etwa so:    |  my full name, like
Helmut Waitzmann <xxx@example.net>, (Helmut Waitzmann) xxx@example.net