tags 567836 pending
thanks

On Sun, Jan 31, 2010 at 06:04:07PM +0100, Christian Andretzky wrote:
> 
> 'pwck -s' does its job right without NIS lines in the local passwd file. It 
> works also correct if there is
> only one NIS line at the end of the passwd file ( +:::::: for example ).
> But if the setup is a bit more complex - for example explicit allow some 
> users and deny all others - then the
> order of the NIS lines is important to get this running.
> Unfortunately 'pwck -s' also sorts this lines in alphabetical order and the 
> login is no longer possible.
> 
> A possible solution should be explicitly to exclude all lines startig with + 
> from sorting and appending this lines exactly
> in the discovered order again after the sort process to /etc/passwd.

I changed pwck (and grpck) in order to stop sorting at the first line which
begins with a '+'.

Best Regards,
-- 
Nekral



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to