Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Iron

Add user by command

I want to add many users with R80.30 smart-1

Is there a way to add it with gaia or chechpoint api command?

 

 

0 Kudos
8 Replies
Highlighted
Iron

Postscript about vpn users

0 Kudos
Highlighted
Admin
Admin

No official API support but can be done with generic-object API.
See: https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/Add-new-user-and-assign-to-an-exi...
0 Kudos
Highlighted
Nickel

Which kind of user?
Gaia user(ssh/https)/Administrator(smartconsole)/user(VPN/IA)?

Gaia

R80 Api

Generic User

0 Kudos
Highlighted
Iron

 

It's a VPN user
I will try the generic-object API above

Is there any way to migrate the vpn user password other than the migrate eport / import command?

0 Kudos
Highlighted
Admin
Admin

I am not aware of a way to migrate the VPN password other than using migrate/migrate_server.
0 Kudos
Highlighted
Iron

Thank you

One more

in R80.30

I want to set usergroup to source-object in client vpn policy

When doing with mgmt_cli, an error will occur if there is no object

Is there a way to do it?

 

 

0 Kudos
Highlighted
Admin
Admin

Sorry, I'm not following.
Can you provide a screenshot of precisely what you want to change?
0 Kudos
Highlighted
Iron

When I searched on the net
Here
https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/How-to-create-LegacyUserAtLocatio...

I registered a "group @ any" object

Get uid of "group @ any" object

added a policy using this uid.

Made this way
0 Kudos