LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No such file directory (https://www.linuxquestions.org/questions/linux-newbie-8/no-such-file-directory-179276/)

Mortified Pengu 05-08-2004 10:20 AM

No such file directory
 
Hey.

I downloaded the RPM packet of John the Ripper 1.6 (ttp://dag.wieers.com/packages/john/john-1.6-0.rhfc1.dag.i386.rpm)

Install worked I know that because if I go in the Terminal and unshadow a file it works:
unshadow /etc/passwd /etc/shadow

I know how to use JTR because I used it on Windows already and I've readen all the examples and tutorials I could find online. So I know to crack a single password in single crack mode I have to go in the terminal and write: "john password.txt" or "john passwd.1" well I tried it.

I putted the file on every location as possible like Desktop (~/Desktop/), *bin etc. but JTR always says the fallowing:

fopen: john.ini: No such file or directory

I Think the fopen: john.ini just says again that it succesfully installed or it would say bash: command not found.

So the problem is "No such file or directory"

Greetings your 100% :newbie: - Mortified Pengu

hw-tph 05-08-2004 05:13 PM

How did you install John, and where is your john.ini (which as the error message suggests is critical to operation of the program)?

The default location for john.ini is in your home directory (cp /wherever/you/built/it/john-1.6/run/john.ini ~).

Håkan

Mortified Pengu 05-09-2004 07:27 AM

Hey Håkan And thanks for your Reply


To your first question.

I Installed John The Ripper using the RPM packet from http://dag.wieers.com/packages/john/...1.dag.i386.rpm
And I simply installed it with the program "packet installer". Which sucessfully installed it.

To your second question.

I used the following command to see where's my john.ini (rpm -ql john) I will list now all the output I recieved:

[root@dhcppc2 root]# rpm -ql john
/etc/john.ini
/usr/bin/john
/usr/bin/mailer
/usr/bin/unafs
/usr/bin/unique
/usr/bin/unshadow
/usr/share/doc/john-1.6
/usr/share/doc/john-1.6/CONFIG
/usr/share/doc/john-1.6/CREDITS
/usr/share/doc/john-1.6/EXAMPLES
/usr/share/doc/john-1.6/EXTERNAL
/usr/share/doc/john-1.6/FAQ
/usr/share/doc/john-1.6/INSTALL
/usr/share/doc/john-1.6/MODES
/usr/share/doc/john-1.6/NEWS
/usr/share/doc/john-1.6/OPTIONS
/usr/share/doc/john-1.6/README
/usr/share/doc/john-1.6/RULES
/usr/share/john
/usr/share/john/all.chr
/usr/share/john/alpha.chr
/usr/share/john/digits.chr
/usr/share/john/lanman.chr
/usr/share/john/password.lst
[root@dhcppc2 root]#

Sorry for this large list :) I hope that this brings more good replies.. Thanks anyway

Mortified Pengu

Mortified Pengu 05-13-2004 11:59 AM

by the way this thread is still open. So anybody want to tell me something about my problem ? ;)

hw-tph 05-14-2004 04:05 AM

Try cp /etc/john.ini ~ to copy the configuration file to your home directory.


Håkan


All times are GMT -5. The time now is 05:11 AM.