LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-08-2004, 10:20 AM   #1
Mortified Pengu
LQ Newbie
 
Registered: May 2004
Location: Zurich Switzerland
Distribution: Fedora Core 2
Posts: 24

Rep: Reputation: 15
Unhappy 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% - Mortified Pengu
 
Old 05-08-2004, 05:13 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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
 
Old 05-09-2004, 07:27 AM   #3
Mortified Pengu
LQ Newbie
 
Registered: May 2004
Location: Zurich Switzerland
Distribution: Fedora Core 2
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 05-13-2004, 11:59 AM   #4
Mortified Pengu
LQ Newbie
 
Registered: May 2004
Location: Zurich Switzerland
Distribution: Fedora Core 2
Posts: 24

Original Poster
Rep: Reputation: 15
by the way this thread is still open. So anybody want to tell me something about my problem ?
 
Old 05-14-2004, 04:05 AM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

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


Håkan
 
  


Reply


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
libtermcap.so.2: cannot open shared object file: No such file or directory tcma Linux - Software 11 02-24-2012 03:00 AM
awk: fatal:cannot open file for reading (no such file or Directory) in Linux sangati vishwanath Linux - Software 4 07-06-2005 12:59 AM
"cannot create directory: ...no such file or directory" fatblueduck Linux - General 7 06-04-2005 10:08 AM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM
The file or directory file:/misc/cdrom does not exist rangerssg Linux - Newbie 5 08-29-2004 05:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:07 AM.

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