set password to * to unlock the account but forbid login through login
Modified: puppet/modules/buildsystem/manifests/init.pp =================================================================== --- puppet/modules/buildsystem/manifests/init.pp 2010-11-22 07:30:07 UTC (rev 384) +++ puppet/modules/buildsystem/manifests/init.pp 2010-11-22 12:13:10 UTC (rev 385) @@ -48,6 +48,7 @@ managehome => true, gid => $build_login, shell => "/bin/bash", + password => '*', # set password to * to unlock the account but forbid login through login } file { $build_home_dir: