Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 11-07-2003, 01:54 AM   #1
Registered: Nov 2003
Posts: 52

Rep: Reputation: 15
Passing a text file in Redhat 9 to honeyd

HI there.
Lets say I have a text file with some content in it-a.txt

I want to pass this file to honeyd to use it as a template.
Honeyd is a low interactive virtual honeypot.
Now to run honeyd, the command is:.honeyd -p nmap.prints -f honeyd.conf
Now I want to replace the contents of *.conf to the content that I have in the a.txt.
How can I do this?Pls help.

Thanks a million.Appreciate it
Old 11-08-2003, 01:38 AM   #2
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
You probably haven't gotten a response because your question either has a simple answer that people assume would be obvious to you if you are using something as sophisticated as honeyd, or it is something arcane to do with honeyd.

The simple answer is: invoke "cp a.txt honeyd.conf".

Looking at the honeyd manpage, it appears that you don't even need to overwrite any existing honeyd.conf - you can just use the argument "-f a.txt" in your honeyd invocation.
Old 11-08-2003, 02:08 AM   #3
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

Double post of:

This thread will now be closed.

Thank You

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which light text editor can copy text from file and paste in browser? davidas Linux - Software 9 03-06-2006 12:28 PM
How to find and change a specific text in a text file by using shell script Bassam Programming 1 07-18-2005 08:15 PM
Replace text of unknown content with other text in file brian0918 Linux - Software 1 07-14-2005 04:22 PM
Passing a text file in Redhat 9 to honeyd james_cwy Programming 1 11-11-2003 01:22 PM
Subject:Passing a text file in Redhat 9 to honeyd james_cwy Linux - Security 7 11-11-2003 12:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration