Puppet recipe (script) for disabling X aka CDE aka waste of resources aka security hole on Solaris
The client runs, find this code and bang it's done. Beats the snot out of running 'svcs disable cde-login' on a few hundred hosts.
# cde-login.pp
class cde-login {
service { cde-login:
ensure => "stopped",
enable => "false"
}
}
The client runs, find this code and bang it's done. Beats the snot out of running 'svcs disable cde-login' on a few hundred hosts.