· 7 years ago · Aug 02, 2018, 01:18 AM
1key="$(cat /secret-key | /bin/keyctl padd user secret-key @s)" 2/bin/keyctl setperm "${key}" 0x3f3f0000 3/bin/keyctl link "${key}" @u 4/bin/keyctl unlink "${key}" @s 5/bin/keyctl timeout ${key} 120