OpenCue icon indicating copy to clipboard operation
OpenCue copied to clipboard

Deprecate 'rqd.rqutil.checkAndCreateUser'

Open donalm opened this issue 2 years ago • 0 comments

There's a function in rqd.util that (depending on your configuration file) will try to create the user account for a job's user if the account doesn't already exist. The function doesn't have any means to ensure the User ID for the new account is aligned with whatever's expected by fileservers, etc. so I'm not sure how this might be useful? Does anyone use this for production or testing? Or can anyone suggest a use for it that I haven't considered?

There's a TODO on the method:

    # TODO(gregdenton): Add Windows and Mac support here. (Issue #61)

I'd suggest that instead of making this work on other OSes, the feature just be removed. If users try to enable it, it probably won't do what they hope it will anyhow, and has the potential to leave the system in a confusing inconsistent state, where a user account appears to exist, but doesn't have the expected credentials or authorizations.

donalm avatar Apr 26 '22 07:04 donalm