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?
Asked
Active
Viewed 272 times
1 Answers
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