r/sysadmin • • 4d ago

Multiple user PC

Hello, I am working on setting up a PC and need some advise.

My environment is managed with Active directory, individual user accounts, security groups, etc.

I have 1 PC which runs some niche software application that will not allow multiple sessions on separate accounts. I know the ideal solution is that each user logs out when done with their work, but that is not likely to happen. My knee jerk reaction is to create an AD user account with limited resource access and have the credential shared with each user. This sounds like a security nightmare and I am struggling to find some middle ground.

I have considered a forced logoff but it could be detrimental by failing to save work/progress.

Any thoughts?

0 Upvotes

40 comments sorted by

36

u/Jarl_Korr 4d ago

You're trying to find a technical solution to a human problem. That never works out well. Make them log off when they're done. Simple as that. If they don't save their work, then they aren't doing their job right and it's on them.

1

u/Engulfingflame05 4d ago

This is very true. I just know how this goes and it's always a challenge. Its much easier to walk up to the machine and go.

6

u/kjubus 4d ago

Email all the users of that pc, that they need to logout ofter each session. Add note, that all unsaved work will be lost.

You may add a little label on the monitor: "Remember to save your work and log out". Make it a wallpaper and screensaver as well.

5

u/Engulfingflame05 4d ago

I love how this is both in your face but not a threat.

3

u/kjubus 4d ago

If you add in the email "this is required due to technical limitations of the X app" you will get double covered.

2

u/Tymanthius Chief Breaker of Fixed Things 4d ago

A technical encouragement that might work - if screen is locked for more than 5 minutes, the machine reboots. Would need a custom script, but forces the logout issue.

7

u/Flabbergasted98 4d ago

I know the ideal solution is that each user logs out when done with their work.

So, group policy, inactivity logoff. Problem, solved.

I have considered a forced logoff but it could be detrimental by failing to save work/progress.
What are the repurcussions of work lost through not saving? I feel like in most inctances the worst case scenario is staff become paranoid about saving their work. The only case I wouldn't do this is in cases where the work can't be resubmitted for some reason. Like the task relies on limited supplies.

0

u/Engulfingflame05 4d ago

In this case it is just lost time and the ability to refer to the previous work later.

4

u/Flabbergasted98 4d ago

Then they'll learn how to save.
Only bad sysadmins encourage handholding.

1

u/Engulfingflame05 4d ago

You right...

2

u/Flabbergasted98 4d ago

though, alternatively, I wonder if you could script something or enable something from policy that would log off all other users if a user logged in?

Kind of like how you can use querey user to see all sessions logged onto a device, and then logoff the session that isn't your own.

A powershell command triggered at user logon could check your user session and log off all sessions other than yours. (but I'm sure there's gotta be a better way to do that, powershell feels like the messy way to trigger that)

That way users are only losing work if another user is trying to work.

you could then take a step further and trigger a warning at logon that warns when a user is currently logged onto this device, you logging onto the device could cause them to lose their work.

That way they'll go and find the problem user and ask them.

3

u/fireandbass 4d ago

Add a gpo that shows a full screen disclaimer when the user logs on explaining the situation, then only allow one user at a time.

Then add a script or something that shows large notifications when idle time approaches that says they will be signed off.

Alternatively, you could try setting up a shortcut to the program that ends the app if launched by a different user.  Hopefully the app can be closed without any data loss.

Ive had this problem also.  I work in Healthcare IT and sometimes doctors want to share a computer login to view test results.  You'll have to get management to back you up on whatever decision you choose.

1

u/Engulfingflame05 4d ago

This is a solid suggestion.

I unfortunately am the management and am responsible for designing, implementing, and living with the solution.

2

u/anonymousITCoward 4d ago

We've run into this before too, to add to u/fireandbass suggestion, on those machines we also enforce a 10 minute idle forced logout. This should kill any open apps for the active user.

2

u/BudTheGrey 4d ago

If the software application has its own login/authentication mechanism, and does user activity logging, having a single, locked down AD login to the computer becomes much less of a risk or and auditing concern.

1

u/Engulfingflame05 4d ago

The software can have multiple accounts configured at login, but it still restricts across windows user logins.

1

u/BudTheGrey 4d ago

So the software has AD authentication integrated at some level? If that's the case, then having a single account won't pass audit muster. You'll need to evaluate your risk tolerance on that.

1

u/Engulfingflame05 4d ago

Oh no, I must have misunderstood. The software has dumb accounts. Nothing that interfaces with AD.

2

u/Aperture_Kubi Jack of All Trades 4d ago

Niche enough to not run in Kiosk mode?

1

u/Engulfingflame05 4d ago

I will look into this. Thanks

22

u/TechIncarnate4 4d ago

I have considered a forced logoff but it could be detrimental by failing to save work/progress.

That is a self-correcting problem. My car also stops working when I don't fill it with gas. :)

2

u/No_Dream_7074 4d ago

Why would it be a security nightmare if you make an account that only has access to the bare minimum and is being shared among 3 people?

5

u/GullibleDetective 4d ago

Violates AAA best practices. Specifically the auditing side

1

u/Engulfingflame05 4d ago

Auditing is the necessity .

1

u/Ssakaa 4d ago

You can mitigate that other ways, mostly cutting down what can be done on the machine.

3

u/GullibleDetective 4d ago

Yes but there's no auditability on WHO did what specifically if they try to access other commands, use a zero day, tried to delete some files (even if there's no ACL that allows it).

1

u/Borgmaster 4d ago

This smells like a solidworks licensing problem.

As the others said, your dealing with a problem that can really only be fixed by users communicating with each other. Short of creating a script or process that kills the app when users disconnect there is no good solution. Your either trying to work around a licensing issue which will never end well. Or your program is limited by its own function which at that point your better off just trying to find a new software. Short of making a vdi server and rolling up images for each user as they need the app there is no good answer to this.

1

u/Engulfingflame05 4d ago

This is an Inspection software issue. One with far less support and alternatives than solidworks, yet very similar.

I am going to lean into making the users get good at saving their work and closing it.

2

u/Ssakaa 4d ago

I've had a few variants of this in academia. The simplest was an extremely locked down kiosk type system that only ran that application, in a room that also had access control, and a shared local account the faculty member was ultimately responsible for. That got used for safety critical lab systems that had to a) run for the duration of a machine's cycle and b) be able to hand off between students in the lab over days. No domain user logins, no browser, no office suite, no outbound internet access (printer vlan style), etc.

1

u/robbiethe1st 4d ago

Gatekeeper - https://gkaccess.com/ They basically add their own proximity lock and auditing on top of the Windows login. It is a really interesting product. We trialed it, but it was too expensive for us, so we only ended up changing some of our workflow to allow people to switch users.

1

u/cheetah1cj 4d ago

Go with the forced sign out.

If you set up a shared account, you lose auditability and you lose the ability to manage permissions individually.

If you set up the forced sign out correctly, there shouldn't be lost work. There are a few ways that you could set up an inactivity time-out so it only logs them out when they are not in the middle of something on the computer. Alternatively, you could set it with a trigger so that when any user sign in, it will automatically sign out any other users that are currently signed in. If either of those still cause lost work, that is a process issue and they will need to adjust their process.

1

u/hugodrax55 Sysadmin 4d ago

You could make a scheduled task that runs this at every logon

quser 2>$null | Select-String '^\s*\S+\s+(\d+)\s+Disc\b' | ForEach-Object { logoff $_.Matches[0].Groups[1].Value }

that should log out everyone except the current user.

1

u/Master-IT-All 4d ago

Before I look at security, I'd want to know how it's used.

I would want to know what state the desktop is left in when a user stops working there?

How long does a person work there? Is this something where a person works for hours straight, or is this a walk up, perform a task, and walk away?

What work other than the single application is on the system? If it allows only one person to use it, then why not just have everyone use a single account?

Does the app have its own login? Could you Kiosk mode Windows and push login security to the app?

1

u/smargh 3d ago

This is a bit long-winded but what I've done:

  1. GPO to lock idle sessions.
  2. Use BinaryNinja to get HLIL from query.exe & logoff.exe to see which exact APIs they use.
  3. Vibecode your own windows service, using your own criteria to log off inactive sessions, call the WMI method to remove VERY old profiles, clean up cache folders to free up space etc.

0

u/Reedy_Whisper_45 4d ago

Share the account. Restrict the account to that one machine. Physically secure the machine.

Oh- step zero - write a policy permitting what you are about to do, and get your manager to sign off on it. (If you work in a place that requires this.)

We have several such accounts around here. It's permitted by policy and restricted as I described. It's not like anyone using those accounts can actually DO anything with them.

1

u/Engulfingflame05 4d ago

This is what I am leaning towards.

Restrict the account to that 1 machine. Limit the information that can be accessed by that account. Ensure the physical security of the machine.

Is it possible to use fingerprints as the credential? That way I can only enroll the members I want to have access and enforce a strict screen lock timer.

1

u/Reedy_Whisper_45 4d ago

Everybody has different fingerprints, so probably not.

Might do it with RFID tags and a short timeout. That's what we do with the shipping computer - each user that needs access has a key fob. All the fobs (catalogued, so we know who's who) open the same account. When Bob quits we either get the fob back or we cancel access to that fob. They're only a couple of bucks. I still have box of them.

It's been a while since we set it up. It just works.

1

u/Engulfingflame05 4d ago

Awesome!

Do you know if this is something windows supports or if 3rd parts software is required?

It has been a long while since I administered smart cards and even then I didn't really know what I was doing.

FYI, I am not an IT professional nor can I currently afford one.

1

u/Reedy_Whisper_45 4d ago

Naw - set up before I got here. I maintain it. I just tossed it out because it's what I walked into.

But u/thariq001 mentions hello for business - a great ID. Just set up a PIN for the account, and tell them all the PIN. Less headache. (People leaving things at home.)

2

u/thariq001 4d ago

Maybe better to setup Windows Hello for business and then set a single pin. which they share. multiple fingerprints may become a bit of nightmare to manage