Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Provision-Unix CPAN distribution.

Report information
The Basics
Id: 62282
Status: resolved
Priority: 0/
Queue: Provision-Unix

People
Owner: Nobody in particular
Requestors: FERRENCY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.98
Fixed in: (no value)



Subject: FreeBSD: Gecos field isn't quoted correctly
Hello, Under FreeBSD, the gecos field is not quoted on the $pwcmd command line the way it is in the Linux code. This causes problems for setting up Gecos fields in FreeBSD when they contain spaces. I've attached a patch below to fix this. Thanks! Alan Ferrency pair Networks, Inc. *** /usr/local/lib/perl5/site_perl/5.8.9/Provision/Unix/User/FreeBSD.pm Wed Jun 2 11:57:38 2010 --- /usr/local/lib/perl5/site_perl/5.8.9/Provision/Unix/User/FreeBSD.pm~ Tue Oct 19 13:48:33 2010 *************** *** 93 **** ! $pwcmd .= "-c $p{'gecos'} " if $p{'gecos'}; --- 93 ---- ! $pwcmd .= "-c '$p{'gecos'}' " if $p{'gecos'};
Subject: Re: [rt.cpan.org #62282] FreeBSD: Gecos field isn't quoted correctly
Date: Wed, 20 Oct 2010 00:23:03 -0700
To: bug-Provision-Unix [...] rt.cpan.org
From: Matt Simerson <matt [...] tnpi.net>
Patch applied. Thanks. v 0.99 uploaded to CPAN. Matt On Oct 19, 2010, at 11:38 AM, Alan Ferrency via RT wrote: Show quoted text
> Tue Oct 19 14:38:13 2010: Request 62282 was acted upon. > Transaction: Ticket created by FERRENCY > Queue: Provision-Unix > Subject: FreeBSD: Gecos field isn't quoted correctly > Broken in: 0.98 > Severity: Normal > Owner: Nobody > Requestors: FERRENCY@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=62282 > > > > Hello, > > Under FreeBSD, the gecos field is not quoted on the $pwcmd command line > the way it is in the Linux code. This causes problems for setting up > Gecos fields in FreeBSD when they contain spaces. > > I've attached a patch below to fix this. > > Thanks! > > Alan Ferrency > pair Networks, Inc. > > > *** /usr/local/lib/perl5/site_perl/5.8.9/Provision/Unix/User/FreeBSD.pm > Wed Jun 2 11:57:38 2010 > --- /usr/local/lib/perl5/site_perl/5.8.9/Provision/Unix/User/FreeBSD.pm~ > Tue Oct 19 13:48:33 2010 > *************** > *** 93 **** > ! $pwcmd .= "-c $p{'gecos'} " if $p{'gecos'}; > --- 93 ---- > ! $pwcmd .= "-c '$p{'gecos'}' " if $p{'gecos'}; >
resolved in 0.99.