[Pkg-shadow-devel] Bug#638263: Bug#638263: shadowconfig uses "pwck -p" and "grpck -p" which aren't actually supported

Nicolas François nicolas.francois at centraliens.net
Thu Aug 18 17:10:29 UTC 2011


Hello,

On Wed, Aug 17, 2011 at 07:37:47PM -0700, tb at becket.net wrote:
> 
> /sbin/shadowconfig from the passwd package uses "pwck -p" and "grpck -p". On
> some other systems, the -p flag to these programs says to silently fix
> problems found in those files.


Can you point me where "pwck -p" is called?

> But the Debian versions do not actually do that. The Debian versions ignore
> the -p option, and then go ahead and prompt for confirmation before making
> changes.

The -p option does not exist for pwck. It should not ignore it, but
verbosely reject it.

Could you provide a /etc/group - /etc/gshadow configuration where grpck
ignores the -p option and prompt for confirmation?

Best Regards,
-- 
Nekral





More information about the Pkg-shadow-devel mailing list