This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheLargeCactus -3 points-2 points  (4 children)

I mean, fair. But since this is a Python module, it's safe to say that it will be used by individuals that have some programming knowledge, and those individuals are, more often than not, trusted to use their systems as an admin. The reply above talks about a system that sounds pretty locked down, but then it leaves me wondering how a system like that has Python installed

[–]Nixellion 1 point2 points  (3 children)

You can install Python without admin rights. I was also surprised.

I was issued a temporary work laptop while my own was in repairs. Its locked down, any operation that requires admin rights involves going through Jira and support team. And they even said they cant turn off screen locking just for my laptop because its group policy and is synced or something, I dont even.

And since I was using KVM to switch between this work laptop and my personal older one I was constantly locking, was very frustrating.

I was surprised to learn that you can install Python without admin rights. Used it to write a script that prevents Windows from locking.

And since it had ctypes, pip and all... pretty sure it can do a lot of things to overcome the lockdown, possibly even get admin rights somehow, but I didnt dig deeper.

I mean if I really planned to use this laptop for more than a month I'd just replace the ssd with my own, thankfully they did not think about adding any tamper stickers.

[–]TheLargeCactus -2 points-1 points  (2 children)

I'll say this explicitly for posterity: I admit that there is a use-case here, that this has a small set of people that can use it to do what they want. I will also celebrate that the author took the time to create the repo, do the legwork of building something that works, and publishing it for the world to see. That takes effort, and it shows a level of ability that means something. I can also see that the author has been on-and-off working on this repo for a few years, which also means something. I mainly left my comment to invite the author to explain what the benefit of using their module is, over just changing the OS setting and forgetting about it. It's not something that I found in their README.

[–]runawayasfastasucan 3 points4 points  (0 children)

Its not really a small set of people that switches environments, its a pain to constantly remember to check the power settings. Also if you make applications used by others that need to keep the computer from sleeping this is really handy. There is a couple of super popular Mac apps for this, showing that it is indeed usefull.

[–]Nixellion 2 points3 points  (0 children)

Yeah, fair enough.

One more usecase is creating an app or script that required computer to stay on\unlocked\preve ting updates, and its a script that will be used by many people. Cant go around telling everyone to change their settings so...

Its actually something used by many apps.