mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-20 13:50:45 +00:00
Don't cleanup kali pass (non-root sudoer)
This commit is contained in:
@@ -30,15 +30,6 @@ class cleanup::init {
|
||||
}
|
||||
}
|
||||
|
||||
# if kali_msf we have a default kali sudoer account by default, so change the kali user password too.
|
||||
if $operatingsystemrelease == 'kali-rolling' and $root_password {
|
||||
::accounts::user { 'kali':
|
||||
shell => '/bin/bash',
|
||||
password => pw_hash($root_password, 'SHA-512', 'mysalt'),
|
||||
managehome => true,
|
||||
}
|
||||
}
|
||||
|
||||
# Disable ssh
|
||||
if $disable_ssh {
|
||||
service { 'ssh':
|
||||
|
||||
Reference in New Issue
Block a user