Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i need to install old vulnerable package on ubuntu to make my own version of metasploitable. its part of my project. i am trying to do it manually but its difficult to install and run the vulnerable program. so my question is : can i install these old vulnerable package with "apt-get".

suppose i install a program from sourcecode then how will i start this ? as example if i manually install telnetd (configure,make,make install) then i do not find its service in "/etc/init.d" as we get it after installing it from "apt-get"

please help me.

thanks in advance

share|improve this question

1 Answer 1

Well, if you can get the packages, you may be able to install them with dpkg. If they're still in the repos, you can probably explicitly install them with apt-pinning, which you WILL need to use in any case, to prevent newer versions from overwriting new ones.

With files you build yourself the best solution is to, really install the current version, see what changes it makes, and then replicate it. If you're asking this question, you probably can't write init scripts yourself - copy what the distro version has in a proper install.

I'm tempted to think that most build instructions should include essential scripts, at least in form of an example, but i don't think building things that are working and in repos belongs in a production system (which this certainly isn't)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.