persistent-keyring(7) Miscellaneous Information Manual persistent-keyring(7) persistent-keyring - -- , . UID , , UID. () _persistent., -- ID . , UID. , . keyctl_get_persistent(3). keyctl_get_persistent(3), . Each time the keyctl_get_persistent(3) operation is performed, the persistent keyring's expiration timer is reset to the value in: /proc/sys/kernel/keys/persistent_keyring_expiry Should the timeout be reached, the persistent keyring will be removed and everything it pins can then be garbage collected. The keyring will then be re-created on a subsequent call to keyctl_get_persistent(3). request_key(2); , , request_key(2). clone(2), fork(2), vfork(2), execve(2) _exit(2). , . UID ( user-keyring(7) user-session-keyring(7)). , , , , cron(8). , UID, (, kerberos). (. ., ), . keyutils keyctl_get_persistent(3) ( keyctl(2) KEYCTL_GET_PERSISTENT). , UID , CAP_SETUID, - UID . Each user namespace owns a keyring called .persistent_register that contains links to all of the persistent keys in that namespace. (The .persistent_register keyring can be seen when reading the contents of the /proc/keys file for the UID 0 in the namespace.) The keyctl_get_persistent(3) operation looks for a key with a name of the form _persistent.UID in that keyring, creates the key if it does not exist, and links it into the keyring. . keyctl(1), keyctl(3), keyctl_get_persistent(3), keyrings(7), process-keyring(7), session-keyring(7), thread-keyring(7), user-keyring(7), user-session-keyring(7) Alexey, Azamat Hackimov , kogamatranslator49 , Kogan, Max Is , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . persistent-keyring(7)