Linux: Use the kernel's credentials structure