Nessus kullanicilari Linux sistemler icin /opt/nessus/var/nessus/users dizini altinda bulunmaktadir. Mevcut kullanicilari listelemek icin;

# ls -1 /opt/nessus/var/nessus/users
root 

komutu kullanilabilir. Kullaniciyi silmek icin;

# /opt/nessus/sbin/nessus-rmuser root
user removed 

Kullanici olusturmak icin;

# /opt/nessus/sbin/nessus-adduser Login : rootLogin password :
Login password (again) :
Do you want this user to be a Nessus 'admin' user ? (can upload plugins, etc...) (y/n) [n]:
User rules
----------
nessusd has a rules system which allows you to restrict the hosts
that root 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 manual for the rules syntax
Enter the rules for this user, and enter a BLANK LINE once you are done :
(the user can have an empty rules set)
accept 192.168.1.0/24default deny
Login             : root
Password         : ***********
Rules             :
accept 192.168.37.0/24
default deny
Is that ok ? (y/n) [y] yUser added

0 comments:

Post a Comment

 
Top