AnsweredHot!Create Guest User account by GUI/CLI

Author
dcpearl
New Member
  • Total Posts : 2
  • Scores: 0
  • Reward points: 0
  • Joined: 2016/04/12 03:32:28
  • Status: offline
2016/04/12 04:05:27 (permalink) 5.4
0

Create Guest User account by GUI/CLI

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?
#1
Jeff_FTNT
Gold Member
  • Total Posts : 228
  • Scores: 21
  • Reward points: 0
  • Joined: 2005/06/14 16:27:00
  • Status: offline
Re: Create Guest User account by GUI/CLI 2016/04/12 08:28:08 (permalink) ☼ Best Answerby dcpearl 2016/04/14 04:15:39
5 (1)
Try CLI:dia test guest  ?
 
list    List guest users.
del     Delete guest users.
add     Add a guest user.
#2
dcpearl
New Member
  • Total Posts : 2
  • Scores: 0
  • Reward points: 0
  • Joined: 2016/04/12 03:32:28
  • Status: offline
Re: Create Guest User account by GUI/CLI 2016/04/14 04:21:53 (permalink) ☄ Helpfulby JoelMSnyder 2020/07/05 12:18:26
0
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
 
#3
JoelMSnyder
New Member
  • Total Posts : 2
  • Scores: 0
  • Reward points: 0
  • Joined: 2020/04/17 11:37:42
  • Status: offline
Re: Create Guest User account by GUI/CLI 2020/07/05 12:23:20 (permalink)
0
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
 
 
#4
Jump to:
© 2020 APG vNext Commercial Version 5.5