[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.
|