Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Andy_
New Contributor

Black/White lists by ssh/telnet

Can anyone help me? How can i append email addresses to user black/white lists? In the command "execute create user-whitelist <user_name> <content>" I can not enter multiple lines of <content> value. And it overwrites the previous values.

3 REPLIES 3
Bromont_FTNT
Staff
Staff

for ssh/telnet only you'd probably need to generate the user config:

 

#execute user-config generate

 

Then back it up to a tftp server:

 

#execute backup user-config tftp user.tgz 172.25.188.122

 

The file is a gzipped tape archive, you can modify the individual whitelist then restore the user config back to the fortimail.

abelio
SuperUser
SuperUser

Another (maybe easier) way:

 

backup your B/W list; edit it as you need and then just restore it

 

hope it helps

 

regards

 

regards




/ Abel

regards / Abel
abelio
SuperUser
SuperUser

nevermind, you are talking about ssh/telnet, not webgui

forget my contribution

 

sorry by the noise

 

 

regards




/ Abel

regards / Abel
Labels
Top Kudoed Authors