如何安全地禁止用户的密码通过木偶?
我有我的SSH服务器设置为只使用密码身份validation禁用公钥身份validation。 当通过木偶添加用户时,我想禁用用户密码。 到目前为止,我已经提出了这似乎工作,但我不知道这是多么安全: user { 'john': ensure => 'present', comment => 'John Smith', groups => ['adm','sudo','wheel','users'], home => '/home/john', managehome => true, shell => '/bin/bash', password => '*', } 正在使用password => '*'定义被认为是安全的禁用用户密码?