[root@localhost ~]# nessus-adduser
Using /var/tmp as a temporary file holder
Add a new nessusd user
----------------------
Login : zpp //
输入设置的用户名
Authentication (pass/cert) [pass] : //
回车
Login password : //
设置密码
Login password (again) : //
确认密码
User rules
----------
nessusd has a rules system which allows you to restrict the hosts
that zpp has the right to test. For instance, you may want
him to be able to scan his own host only.
Please see the nessus-adduser(8) man page for the rules syntax
Enter the rules for this user, and hit ctrl-D once you are done :
(the user can have an empty rules set)
192.168.1.0/24
//
设置允许扫描的网段
61.134.1.0/24
default deny
//
默认策略咱们设置为拒绝,设完了回车按 Ctrl+D
Login : zpp
Password : ***********
DN :
Rules :
192.168.1.0/24
61.134.1.0/24
default deny
Is that ok ? (y/n) [y] y
user added.
|