The rest of this lab is dependent upon this step executing
successfully. If for any reason you have experienced issues on this
step then please reach out to an instructor for assistance!
Objective: Create a new OSSEC agent and retrieve its key
, c) In an existing, or new, terminal window run the manage_agents command
soadmin@so-sa:~$ sudo /var/ossec/bin/manage_agents
****************************************
* OSSEC HIDS v2.8 Agent manager. *
* The following options are available: *
****************************************
(A)dd an agent (A).
(E)xtract key for an agent (E).
(L)ist already added agents (L).
(R)emove an agent (R).
(Q)uit.
Choose your action: A,E,L,R or Q:
d) Press A to add an agent, then complete the prompts as shown
Choose your action: A,E,L,R or Q: A
- Adding a new agent (use '\q' to return to the main menu).
Please provide the following:
* A name for the new agent: Win7
* The IP Address of the new agent: 192.168.12.53
* An ID for the new agent[001]: Agen information:
ID: 001
Name: Win7
IP Address: 192.168.12.53
Confirm adding it?(y/n): y
Agent added.
e) Press E to extract the key for the agent
Choose your action: A,E,L,R or Q: E
Available agents:
ID: 001, Name: Win7, IP: 192.168.12.53
Provide the ID of the agent to extract the key (or '\q' to quit): 001
Agent key information for '001' is:
MDAyIG15YWdlbnQgMTAuMjAuMzAuNDAgZjQ2YTFhNzNkNjcyNTgxNjgxMDFhMjExYTcwMDdl
ZjM1NDlhOTFhNTQwMTI0Njc4OWQyOTAyNzA3ODIzOWU3Mw==
Voordelen van het kopen van samenvattingen bij Stuvia op een rij:
Verzekerd van kwaliteit door reviews
Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!
Snel en makkelijk kopen
Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.
Focus op de essentie
Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!
Veelgestelde vragen
Wat krijg ik als ik dit document koop?
Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.
Tevredenheidsgarantie: hoe werkt dat?
Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.
Van wie koop ik deze samenvatting?
Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper Studyabroad. Stuvia faciliteert de betaling aan de verkoper.
Zit ik meteen vast aan een abonnement?
Nee, je koopt alleen deze samenvatting voor €6,72. Je zit daarna nergens aan vast.