iSECPartners / yontma

You'll never take me alive.
Other
86 stars 18 forks source link

Handle never logged in case #10

Closed mlynch-isec closed 11 years ago

mlynch-isec commented 11 years ago

yontma should handle the case where the machine is booted up, but the user has not yet logged in. It might already handle this, but we need to verify.

andreasjunestam commented 11 years ago

This can probably be solved by firing off a thread when the service starts. The thread sleeps for X seconds and then checks if the machine is locked. Question is how to query the lockstate. There is not straightforward function and as a service we don't have UI interaction so I'm not sure we can query for the current desktop.

andreasjunestam commented 11 years ago

And to finish that comment.. :) In any case, if the machine is found to be locked, set the lock state accordingly.

andreasjunestam commented 11 years ago

Solved. Will be part of large checking at some point.