Hi all, I’m a newbie to automox. I was trying to write a worklet to create a linux os account/s. To do that that would require the worklet to prompt for name to use for a variable. Does anyone have any experience with this type of task?
Page 1 / 1
Sorry if this reply is too late to be useful.
Worklets really don’t have a way of prompting an end user for data. If you’re set on using a worklet for this, you would probably need to have it read from a text file or some other data source, then run through a series of checks to make sure each user has an account, home directory, appropriate permissions on the home directory, etc.
This could be done with a bash script, but I don’t think I would use a worklet for it.
Reply
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.