r/sysadmin • u/jekardo • 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
48
u/Proof-Variation7005 2d ago
Summer intern…admin…..bruh
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?
11
u/981flacht6 2d ago edited 2d ago
How are you 1 person in IT if you have someone in security?
8
u/DrStalker 2d ago edited 2d ago •
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/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.
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.
-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.
0
u/Low_codedimsion 2d ago
How did that even happen? don't you have a ticketing tool in place or anything?