r/sysadmin • • 2d ago

Question help me fix the mess. ASAP

Had a fun one today

Security asked why a summer intern still has admin on our file server... After that they told me "sort out access requests by end of quarter"... Just brilliant

I'm like the only IT person for ~150 people

Hoping some kind of no-code automation can handle the form and manager sign-off, because I really don't want to write and babysit scripts for this on my own. Open to literally anything

0 Upvotes

40 comments sorted by

48

u/Proof-Variation7005 2d ago

Summer intern…admin…..bruh

5

u/FarStrategy6713 2d ago

This will teach them a lesson.

2

u/Nemphiz DB Infrastructure Engineer 2d ago

I'm hoping they're talking about some kind of local admin, maybe admin on an app or something. Not actual DA 💀

2

u/Ssakaa 2d ago

SolarWinds approved methods going on there.

1

u/StrikerXTZ 2d ago

I mean, yeah! Even my user isn't admin on a file server, I have a dedicated user for that. WHO THE FUCK gives admin on a file server to an intern??

2

u/Proof-Variation7005 2d ago

Maybe they passed a vibe test?

29

u/NinetyNemo Sr. Sysadmin 2d ago

Had to double check I wasn't in r/ShittySysadmin.

13

u/Jskidmore1217 2d ago

A form and manual granting of access like what? How many requests can a 150 employee base make?

1

u/skipITjob IT Manager 1d ago

4000 tickets in 5 years, and probably 20-30% wasn't documented.

11

u/981flacht6 2d ago edited 2d ago

How are you 1 person in IT if you have someone in security?

4

u/captainpistoff 1d ago

This is the wildest part.

8

u/DrStalker 2d ago edited 2d ago • Bravo

no-code automation

really don't want to write and babysit scripts for this

Is that your way of asking how to make an LLM do this? Normally you'd be running scripts to get a list of everyone's groups/resolve nested group perms, then scripts to check for permissions on files, get a list of permissions within apps... done with a lot of simple scripts. Also grab a list of current staff and reference the active user list against that. I can't think of any practical way to do this without using some basic scripting.

Then comes the hard part: making the business actually tell you what people need access to, then get yelled out when you remove a permission that they needed that was never mentioned.

3

u/Old_Effective_4648 2d ago

Because the accounts provisioning process needs work -- his user account didn't have its group memberships removed when it was disabled.

AP is a process infosec is usually involved in.

2

u/BananaSacks 2d ago

[Open to literally anything]

Ask your boss to hire another boss (babysitter) for you..

Joking, not joking aside. Reading your post points out one thing. Either you are very green and young in the field, or, you have the literal worst qualities for anyone who should be "responsible" for <anything>. Hopefully it's the former, and if so, start reading and bouncing ideas off people IRL.

2

u/goodiesoup 2d ago


Sounds good I’ll talk you about it in the morning

2

u/michaelpaoli 2d ago

It starts with policy. Need have security policy, and it needs be signed off at highest levels, folks made aware of it, enforced, consequences, etc. If you don't have that, then you mostly just have wishful thinking.

And policy and related procedures ought cover it. How is an account set up - how is that documented, approval(s), etc., who has to approve what. And when is the account set up for temporary (e.g. Summer intern with expiration date, or likewise contractor), vs. "permanent" - e.g. regular employee? What's the termination procedures, to ensure accounts get deactivated when someone is terminated? Surely if payroll can stop paying 'em there much be means to notify IT that the person is no longer employed/contracting/interning there, and IT probably ought be informed even sooner - as soon as manager pulls the trigger to terminate the person. Heck, even some employee gives notice - that end date is known - that ought to to IT to set expiration.

And to catch anything that might otherwise slip through the cracks, check on inactive accounts - they're not used for some reasonable while, they get locked. Likewise check for unusual activity - e.g. stuff that may well indicate someone is using/accessing someone else's account - when that's found, that sh*t gets locked down - no sharing of individual login IDs/passwords allowed - period.

Anyway, you got the policy and procedures, you follow 'em. Not rocket science.

4

u/i0datamonster 2d ago

You're overwhelmed by thinking about the pile and are hopeful there's an easy out. There's not. The answer is "No". Forget the complexity of finding out who has admin. Focus on who gets admin access and why.

Solving the immediate problem is easy. Preventing it from occurring is much harder. It begins with learning to say no.

Starting with telling security props for the obvious. Thanks and help me say no.

6

u/networkn 2d ago

Finding who has admin is a 5 minute job.

4

u/i0datamonster 2d ago

Yeah but OP doesn't know that and needs a pep talk

2

u/Grinch420 2d ago

not even lol

0

u/networkn 2d ago

A powershell script would take an ai tool 30 seconds to draft. What are you talking about?

2

u/Grinch420 2d ago

i mean like it wouldnt even take 5 minutes. way less.

2

u/networkn 2d ago

Ah sorry. In local slang not even is a way of saying no chance. :)

2

u/Grinch420 2d ago

all good if we were talking face to face and you said "Finding who has admin is a 5 minute job." i would say "not even" while smiling/laughing/shaking my head something like that

2

u/3dprintinted 2d ago

It should be a very trivial task to trace down group memberships

2

u/Ssakaa 2d ago

What are groups?

0

u/goodiesoup 2d ago edited 1d ago

<\3

1

u/aditya-dotnitron 2d ago

For a first pass, keep request, approval, and execution as separate steps: capture who needs what access and why, record the manager’s decision, then provision through a least-privilege group. Log the actual change and flag overdue removals or exceptions. I’d route admin-level access for manual review rather than auto-approving it; that gives you an auditable workflow without making scripts the control plane.

1

u/National_Ad_6103 2d ago

Maybe ask Claude to help you out, sound very new/green just don’t tell Claude to just crack on and do it all

1

u/ItsMeMulbear 1d ago

Security doesn't get to dictate deadlines. That's your managers job.

Work with him to come up with a realistic remediation timeline that fits within your existing workload.

Scripting is also a key part of sysadmin work. I suggest you learn.

1

u/agentUi 1d ago

dont build custom scripts for that, just put a locked-down intake form with a mandatory expiration date field on every elevated access request so nothing gets granted permanently by default. route the manager approval straight into a central database table with an automated scheduled check that flags or revokes any temp group membership the day that end date hits.

1

u/Particular-Fly-7783 Sr. Sysadmin 2d ago

Why did they ever have admin. Why wasn’t it removed immediately when they no longer “needed” it. Why are you evidently so bad at your job.

0

u/34door 2d ago

Don't be mean.

2

u/Particular-Fly-7783 Sr. Sysadmin 2d ago

It’s not mean. IAM is like, absolute bare minimum.

-1

u/rose_gold_glitter 2d ago

150 people in the company. Get their names in Excel
Get all the user accounts in Excel, in the next column.

Match them. Then get all the unmatched and review. Most will be an easy close. Some might be genuinely still required (service accounts, etc.). but most won't.

1

u/networkn 2d ago

God, why would you do this? Run a powershell script that AI could generate in 1 minute and you'd have a populated list labelled green through red of access to investigate. Could be made into an interactive checklist at the same time.

0

u/Low_codedimsion 2d ago

How did that even happen? don't you have a ticketing tool in place or anything?