<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Dec 7, 2018 at 9:47 PM Dinesh Prasanth Moluguwan Krishnamoorthy <<a href="mailto:dmoluguw@redhat.com">dmoluguw@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Oh damn! Yes. It worked!<br>
<br>
So, my next question would be "how to avoid it?"<br>
<br>
To expand a bit more:<br>
<br>
I want to make these passwords inaccessible outside the systemd service<br>
even by that USER. (or does it sound something contradictory?)<br>
<br>
Regards,<br>
Dinesh<br></blockquote><div><br></div><div>It does sound contradictory; it rarely makes sense to isolate the user from themselves.</div><div><br></div><div>It might be *possible* to set the key's permissions such that only the "possessor" has full permissions, but the "uid/gid/other" have none. (e.g. <font face="monospace, monospace">keyctl setperm <id> 0x3f000000</font>).</div><div> </div></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>