- CheckMates
- :
- Products
- :
- Quantum
- :
- Security Gateways
- :
- Re: How to Create Multiple Admin Accounts
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×
Sign in with your Check Point UserCenter/PartnerMap account to access more great content and get a chance to win some Apple AirPods! If you don't have an account, create one now for free!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jump to solution
How to Create Multiple Admin Accounts
Hi,
how can I create multiple Admin-Acounts wit GAIA Clish. To Create one account, I can write this commands in clish
add user [User] uid [number] homedir /home/user
set user [User] password
save config
and so on...
for out installation I don´t want set up all admin user manual on out checkpoint Appliances. We use GAIA R80.10.
What can I do? API? User-File?
Thanks for help.
2 Solutions
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why not script it all beforehand?
If you know the passwords for the users, you can get the hash for them and set the hashes non-interactively (e.g. set user user1 password-hash hash-value).
I believe such a script can be loaded as part of ISOmorphic, CDT, or other methods.
If you know the passwords for the users, you can get the hash for them and set the hashes non-interactively (e.g. set user user1 password-hash hash-value).
I believe such a script can be loaded as part of ISOmorphic, CDT, or other methods.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have a spreadsheet with names, ID and PW hashes you can make your own command set:
column 1 has Name, column B has ID and column C has PW-Hash
create this formula in D2 (the first data line) ="add user "&A2&" uid "&B2&" homedir /home/"&A2" <Alt> <Enter> set user "&A2&" password-hash "&C2&" <Alt> <Enter> add rba user "&A2&" roles adminRole
Replace the <Alt><Enter> with the key combination.
If needed you can change the adminRole to another or use another field to set the correct value.
Just make a copy of the column and paste it into a text editor, now you can copy and paste parts into a Putty session to the Gaia clish interface.
column 1 has Name, column B has ID and column C has PW-Hash
create this formula in D2 (the first data line) ="add user "&A2&" uid "&B2&" homedir /home/"&A2" <Alt> <Enter> set user "&A2&" password-hash "&C2&" <Alt> <Enter> add rba user "&A2&" roles adminRole
Replace the <Alt><Enter> with the key combination.
If needed you can change the adminRole to another or use another field to set the correct value.
Just make a copy of the column and paste it into a text editor, now you can copy and paste parts into a Putty session to the Gaia clish interface.
Regards, Maarten
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why not script it all beforehand?
If you know the passwords for the users, you can get the hash for them and set the hashes non-interactively (e.g. set user user1 password-hash hash-value).
I believe such a script can be loaded as part of ISOmorphic, CDT, or other methods.
If you know the passwords for the users, you can get the hash for them and set the hashes non-interactively (e.g. set user user1 password-hash hash-value).
I believe such a script can be loaded as part of ISOmorphic, CDT, or other methods.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes I can script it. I will create all user over the WebUi and than I will export the file. I think, it is better than a individual script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have a spreadsheet with names, ID and PW hashes you can make your own command set:
column 1 has Name, column B has ID and column C has PW-Hash
create this formula in D2 (the first data line) ="add user "&A2&" uid "&B2&" homedir /home/"&A2" <Alt> <Enter> set user "&A2&" password-hash "&C2&" <Alt> <Enter> add rba user "&A2&" roles adminRole
Replace the <Alt><Enter> with the key combination.
If needed you can change the adminRole to another or use another field to set the correct value.
Just make a copy of the column and paste it into a text editor, now you can copy and paste parts into a Putty session to the Gaia clish interface.
column 1 has Name, column B has ID and column C has PW-Hash
create this formula in D2 (the first data line) ="add user "&A2&" uid "&B2&" homedir /home/"&A2" <Alt> <Enter> set user "&A2&" password-hash "&C2&" <Alt> <Enter> add rba user "&A2&" roles adminRole
Replace the <Alt><Enter> with the key combination.
If needed you can change the adminRole to another or use another field to set the correct value.
Just make a copy of the column and paste it into a text editor, now you can copy and paste parts into a Putty session to the Gaia clish interface.
Regards, Maarten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Maarten,
thanks for this example - I will try it, it seems simple.
