This discussion is archived
1 Reply Latest reply: Mar 25, 2013 3:00 AM by DarrenMoffat RSS

Solaris 11 AutoInstaller service profile for ssh to enable root logins?

998401 Newbie
Currently Being Moderated
Hi Guys,

I have got a basic system configuration profile that sets various things for my newly installed solaris 11 client.

I was curious if anyone has a xml service configuration declaration I could use that configures the ssh service to allow remote root logins.

I'd appreciate it.
  • 1. Re: Solaris 11 AutoInstaller service profile for ssh to enable root logins?
    DarrenMoffat Explorer
    Currently Being Moderated
    SSH configuration is not held in SMF but in /etc/ssh/sshd_config so it is not currently possible to use just an AI/SC manifest & profile to do what you ask.

    You need do deliver an updated /etc/ssh/sshd_config file with "PermitRootLogin yes", you will also need to have your SC profile setup so that the root account is not configured as a role. Y

    ou can deliver the /etc/ssh/sshd_config file either in an IPS package or you could do it with a custom [first boot script|http://docs.oracle.com/cd/E26502_01/html/E28980/firstboot-1.html#scrolltoc] or use a software_type of archive in your AI manifest to deliver it via cpio/tar.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points