[Pbuilder-maint] Bug#338976: pbuilder and /etc/shadow

Norbert Preining preining at logic.at
Tue Nov 15 23:03:18 UTC 2005


On Die, 15 Nov 2005, Roland Stigge wrote:
> with this, you are just preventing the respective lines from being
> executed. I guess you have BUILDUSERNAME unset (default)?
> 
> Maybe we should also "cat >>" to etc/shadow etc. if it doesn't exist?

Well, I didn't say that this is the right solution. But what is *TRUE*
is that the check for -n is *WRONG* in any case, so it is useless to
have this check! Why would there be a check for -n if the variable is
either "su " or "su username"? In any case it is -n! So there is for
sure a failure.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
Arthur felt at a bit of a loss. There was a whole Galaxy
of stuff out there for him, and he wondered if it was
churlish of him to complain to himself that it lacked just
two things: the world he was born on and the woman he
loved.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy




More information about the Pbuilder-maint mailing list