Skip to content
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

pam: add realm_file option #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

pam: add realm_file option #3

wants to merge 2 commits into from

Conversation

tinx
Copy link

@tinx tinx commented Feb 13, 2018

Using the realm_file option it is possible to set the realm name on a per-user basis. An example setting would be
realm_file=~/.otp_realm
or
realm_file=/etc/linopt/%u.realm

We found ourselves in need of configuring different realms per account, and this was our solution, rather than prompting the user.

tinx added 2 commits February 13, 2018 17:35
Using the realm_file option it is possible set the realm name
on a per-user basis. The realm file must be located in the users
home directory. An example setting would be
   realm_file=.linotp_realm
The realm_file parameter now understands the special tokens
'~' (user home directory) and '%u' (username). '~~' can be used
for a single tilde character. '%%' can be used for a single
percent character. Unknown tokens (such as '%a') are copied
verbatim.

The realm file is no longer assumed to be in the users home
directory. Use '~/.otp_token' instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant