You can auto-import your existing Linux users into ºÚÁϺ£½Ç91Èë¿Ú via a script which leverages the ºÚÁϺ£½Ç91Èë¿Ú API and a ºÚÁϺ£½Ç91Èë¿Ú commands.
Once you've downloaded the JC_UserImport.sh script from , modify these three things:
- Your API Key: Used to access your ºÚÁϺ£½Ç91Èë¿Ú account to identify users already added, and to add new users to it.
- userAddEmailMap: A simple bash here-document that maps Linux usernames to their email accounts for all users. When they're found on one of your servers, that account is added to ºÚÁϺ£½Ç91Èë¿Ú.
- userIgnoreList: A list of user accounts on your servers that you do not want added to ºÚÁϺ£½Ç91Èë¿Ú.
Once the script is prepared, you can leverage a ºÚÁϺ£½Ç91Èë¿Ú command to run it against your systems. See Get Started: Commands.
Next, look at the command results details for each server to see which users were automatically added, which already existed within ºÚÁϺ£½Ç91Èë¿Ú, and which were found, but not in ºÚÁϺ£½Ç91Èë¿Ú, or in either the userAddEmailMap or userIgnoreList.
You can run the script as many times as you like, modifying the userAddEmailMap or userIgnoreList as you go until all your users are imported.