I am looking for FreeBSD (and Linux) equivalent of DP API in windows. For example, windows service has access to a secure data store associated with user account. When I register service I enter service user id and password and that password unlocks user store. Is there something like that in Unix world?