Sublime Forum

Sublime and the Privileges Escalation Dialog

#1

Hello,

I’ve been a fervent user of Sublime for quite some time now, and i really love it.
A few days ago, i purchased a new laptop computer. It has a fingerprint reader, so I configured my operating system to take advantage of it. Right now, i’m using the fprintd system for this purpose, along with a PAM library allowing me to be authenticated by fingerprint even in tty mode.

Basically, the PAM module takes over when a sudo password is required, and waits for the fingerprint. Whenever this timeout (If it does), PAM falls back to regular password mode.

The only application that doesnt work with it is Sublime. Here is a workflow of what Im doing to reproduce the problem:

  • Open any file that doesnt belong to the user im logged in with, eg. “subl /etc/hosts”
  • Save the file, eg, Ctrl + S for me.

At this point, Sublime is unresponsive, and no dialog appears. I noticed that in some cases, i can scan my fingerprint and it would unstick sublime.

Is there anything i can do to either:

  • Solve the problem with a nice OS-compatible way,
  • Anything else to prevent sublime from freezing?

Thanks for your time and help,
Pierre.

0 Likes

#2

Bump, anyone please?

0 Likes

#3

Maybe I’m misunderstanding the issue, but the fact that you can operate the fingerprint scanner and it ‘unfreezes sublime’ makes me think it is working as close as one would think, save that your authentication program notice does not pop up.

If am misunderstanding the issue, at least you get a bump.

Does operating the fingerprint scanner always unfreeze the program or just some of the time? I would think the expected (or hoped for) case would be that it unfreezes when whatever sudo it is configured for would work to access the file.

In regards to ‘anything else to prevent sublime from freezing’ if practical, you could run sublime as the user required to access the file.

What linux are you using?

0 Likes