Why is FAI using /etc/passwd and not /etc/shadow?

Kenny Duffus kenny-fai at duffus.org
Wed May 19 13:28:38 CEST 2004


On Tue, May 18, 2004 at 08:17:48PM +0200, jimmy at g-tec.co.at wrote:
> Hello,
> 
> Why is FAI using /etc/passwd? I think this is a real security risk and
> should not be used for a default installation. If /etc/passwd is used
> because of NIS then it would be better to use /etc/passwd only for
> NIS-classes, IMO.
> I'm also wondering that debootstrap didn't activate shadow passwords. I
> thought that this is standard when using the noninteractive frontend.
> 

Hi

You need to turn it on by adding the following to one of your scripts:

# enable shadow passwds
$ROOTCMD /sbin/shadowconfig on

	Kenny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20040519/7d29b89e/attachment.bin 


More information about the linux-fai mailing list