krb5_kuserok - verifies if a principal can log in as a user
Kerberos 5 Library (libkrb5, -lkrb5)
First check if there is a local account name Fa username. If there isn't, returns FALSE
Then checks if principal is the same as user@realm in any of the default realms. If that is the case, returns TRUE
After that it reads the file .k5login (if it exists) in the users home directory and checks if Fa principal is in the file. If it does exists, TRUE is returned. If neither of the above turns out to be true, is returned.
The .k5login should contain one principal per line.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |