Skip to content
Snippets Groups Projects
Commit a4268307 authored by Andreas Kempe's avatar Andreas Kempe
Browse files

ldap: root: correct name and declaration

parent 423acdc7
Branches
No related tags found
No related merge requests found
class freebsd::ldap::root { class freebsd::ldap::root {
file_line { 'Allow normal user login': file_line { 'Allow only root login':
path => '/etc/master.passwd', path => '/etc/master.passwd',
line => '+@root::::::::/var/empty:/bin/tcsh', line => '+@root::::::::/var/empty:/bin/tcsh',
notify => Exec['Update /etc/passwd'], notify => Exec['Update /etc/passwd'],
} }
file_line { 'Allow normal user login': file_line { 'Disallow normal user login':
path => '/etc/master.passwd', path => '/etc/master.passwd',
line => '+:::::::::', line => '+:::::::::/sbin/nologin',
notify => Exec['Update /etc/passwd'], notify => Exec['Update /etc/passwd'],
} }
exec { 'Update /etc/passwd': exec { 'Update /etc/passwd':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment