Forum Discussion

ticuliced's avatar
ticuliced
New Contributor
2 hours ago

1password cli as auth source for autofs

Hi,

I have a setup where autofs is mounting CIFS network shares, and I'd like to avoid having the password in plaintext. For that purpose, I set up a named pipe, with a systemd process auto populating it with username, and password taken from `op`. This works, but given that `autofs` auto unmounts when the directory is not used – so I get reprompted a lot to authorize.

Is there a way to avoid this, or a better way to set this up?

No RepliesBe the first to reply