[clug] banning passwords in passwd

Martijn van Oosterhout kleptog at svana.org
Wed Nov 15 07:12:10 GMT 2006


On Wed, Nov 15, 2006 at 05:09:40PM +1100, Michael James wrote:
> Is there anything I can do to stop Linux passwd command
>  EVER putting a password into /etc/passwd?
> 
> A lot of my users are authenticated of Active Directory
>  and so don't have or need entries in /etc/shadow.
> And it makes the shadow file shorter and more readable
>  if users without passwords, don't have entries.

I've not tried, but if you alter the PAM configuration for passwd to
not include the standard unix auth, does that work?

Have a nice day,
-- 
Martijn van Oosterhout   <kleptog at svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/linux/attachments/20061115/b59af357/attachment.bin


More information about the linux mailing list