-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds Message of the Day #7396
Adds Message of the Day #7396
Conversation
@alex-kovoy @kimlisa Can you two review this as well because the Web UI will need to present the MOTD as well? |
# which must be acknowledged before the user is allowed to log in. Note that will | ||
# be shown *before* login, so should not contain any confidential information. | ||
# Defaults to the empty string, implying no message or acknowledgment is required. | ||
message_of_the_day: "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This MOTD article for PAM might be worth reviewing/updating here: https://goteleport.com/docs/server-access/guides/ssh-pam/#set-message-of-the-day-motd-with-teleport. Looks like your changes are specific to the API?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The message added by this change is shown as part of tsh login
rather than on access to a resource, while it's a similar feature it happens at a different time. Will see if I can add anything useful to the PAM guide to refer this, though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a note that you can add a cluster-wide MotD to the PAM documentation. I'm not certain that it's the 100% right place for it (as it doesn't use PAM at all) but at least someone searching for motd
will find it :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple small nits on the docs.
Adds a configurable MotD to the auth service. If a message is set, any attempt to login into a cluster via `tsh` will display that message and not begin to log the user in until that message is acknowledged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bot.
Adds a configurable MotD to the auth service. If a message is set, any attempt to login into a cluster via `tsh` will display that message and not begin to log the user in until that message is acknowledged.
Adds a configurable MotD to the auth service. Any attempt to login into a cluster where a MotD is set will display that message and not begin to log the user in until that message is acknowledged.
See-Also: #4988