Open ZLLentz opened 1 month ago
Checks for operator users should only find operator users.
Most checks are implemented via checking if the username contains "opr", which will give false positives for some (rare) users.
Check specifically for the hutch operator accounts in /cds/home/opr instead:
/cds/home/opr
$ ls /cds/home/opr cxiopr detopr feeopr hplopr lasopr mccopr mecopr mfxopr rixopr tmoopr tstopr txiopr uedopr xcsopr xppopr
https://github.com/pcdshub/engineering_tools/pull/204#discussion_r1783186408
Expected Behavior
Checks for operator users should only find operator users.
Current Behavior
Most checks are implemented via checking if the username contains "opr", which will give false positives for some (rare) users.
Possible Solution
Check specifically for the hutch operator accounts in
/cds/home/opr
instead:Context
https://github.com/pcdshub/engineering_tools/pull/204#discussion_r1783186408