According to FortiOS Handbook (Version 5.4), to create guest user account I need to create a guest type user group, then create user under guest management. My environment (school) would like to specify username instead of using autogenerated user0xx. Therefore I have to create a new one/change after auto-generated guest account. I found this process tedious when I have to create/edit a bunch of users a day.
The handbook didn't state the way to create guest user account under command line. Is it possible to do so under CLI?
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Try CLI:dia test guest ? list List guest users. del Delete guest users. add Add a guest user.
Thanks Jeff.
It saves me a lot of time.
I leave my example for anyone who read this thread later
dia test guest add testgroup stuA stuA 12345678 "" "" "" "" 7200
Try CLI:dia test guest ? list List guest users. del Delete guest users. add Add a guest user.
Thanks Jeff.
It saves me a lot of time.
I leave my example for anyone who read this thread later
dia test guest add testgroup stuA stuA 12345678 "" "" "" "" 7200
Just to add a tiny bit to dcperal's note:
To add users, the fields are (optional fields in <optional> angle brackets):
group, user-id, <user-name>, <password>, <mobile-phone>, <sponsor>, <company>, <email>, <expire>, <comment>
To delete, the fields are:
<group>, <user>
To list, the fields are:
<group>, <user>
jms
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1629 | |
1060 | |
749 | |
443 | |
210 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.