2

Is there anyway you can have a user always log in as an Ubuntu user for a ssm session instead of having to Sudo -su to Ubuntu user?

LilGoonchi
  • 31
  • 2

1 Answers1

1

Unfortunately, it is impossible to log in with the SSM Session as another user then ssm-user. There is also the possibility to su automatically at the beginning of the session, by adding proper commands into profile.

In the background of the SSM Session, SSM Document is executed. You can always override the default properties of this execution (edit Preferences profile), or create a new SSM Document based on the existing one.

This is related SSM Document: SSM-SessionManagerRunShell link.

ZabielskiGabriel
  • 551
  • 3
  • 12