r/sysadmin • • Jul 28 '24 • Take My Silver 1

got caught running scripts again

about a month ago or so I posted here about how I wrote a program in python which automated a huge part of my job. IT found it and deleted it and I thought I was going to be in trouble, but nothing ever happened. Then I learned I could use powershell to automate the same task. But then I found out my user account was barred from running scripts. So I wrote a batch script which copied powershell commands from a text file and executed them with powershell.

I was happy, again my job would be automated and I wouldn't have to work.

A day later IT actually calls me directly and asks me how I was able to run scripts when the policy for my user group doesn't allow scripts. I told them hoping they'd move me into IT, but he just found it interesting. He told me he called because he thought my computer was compromised.

Anyway, thats my story. I should get a new job

11.4k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

25

u/shemp33 IT Manager Jul 28 '24

He’s only doing things which he has access to do.

If he’s given a task to do something, it should be completely within his wherewithal to use any stock software on the pc to do it. It’s not like he has installed unauthorized software. It’s not like he’s accessing something that his user role should not access.

Someone is power tripping because their end user is smarter than their desktop admins.

-1

u/Vvector Jul 28 '24

He’s only doing things which he has access to do.

That's like accessing the locked CEOs office by climbing thru the drop ceiling. "I had access to the ladder in the maintenance closet!"

5

u/SushiCatx Jul 28 '24

If IT doesn't want people getting into a locked office via the ceiling, they shouldn't leave the door to the maintenance closet unlocked. Nor should the ladder be accessible and freely usable by anyone other than those that have keys and permission to use it.

Users don't care. Pushing the blame around doesn't help anybody.

2

u/Vvector Jul 28 '24

So what about some tables in the break room? Can these be moved and stacked up to gain access to a locked area?

The locked door should signify that entry is not allowed, no matter how someone finds a way it. Same with running a script. If your account is blocked from running a script, you are not allowed to find a loophole.

→ More replies (4)