LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-16-2004, 10:35 AM   #1
isamitch
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 9.1
Posts: 19

Rep: Reputation: 0
what to do when forgot your password?


Hello

Okay, so I am using slackware linux 9.1 here at work and i have been trying to get it running as the email server. I have been using www.qmailrocks.org to get it all set up and in part six (http://www.qmailrocks.org/vqadmin.htm) is where you set the domain and password stuff.

I wasn't able to completely set up where I stored my password like how they did it on the website because of some problems. so i stored that in a different file. But, I wrote that all down so in case i forgot i could look it up....then my coworker threw away that piece of paper and now i think i'm in trouble.

I want to go back through that section and just set the password and stuff again, but will it realize that i've done it now somewhere else? or will it still want the previous one that i don't remember where i put it?

Thank you for your help!

Isa
 
Old 07-16-2004, 11:03 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
Can't you just look in the .htaccess file and find where the AuthUserFile field points to? That should be where it's stored your password..
 
Old 07-20-2004, 04:31 PM   #3
isamitch
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
Thank you for your suggestion. However, when i check there, I was not given anything like a password that I would have made up.

Any more suggestions would be very welcome! Thank you for all your patience!
 
Old 07-20-2004, 05:07 PM   #4
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
When you looked at the password, was it a 13 character long set of random characters? If so it's likely that it is stored as the standard DES password.
You'll either need to brute force decrypt it (fun!) or replace it with another DES encrypted password. :)
 
Old 07-21-2004, 02:54 PM   #5
isamitch
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
ummm..no I never saw a 13 random character set.....I didn't really see anything that looked like a password. Am i looking in the wrong place if i just type "vi .htaccess" ?

Thanks a lot
 
Old 07-21-2004, 03:22 PM   #6
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
Copy the output you get from that into this thread and we might be able to tell you
 
Old 07-22-2004, 10:20 AM   #7
isamitch
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
ahhhh yeah, sorry about that! Here it is

If you can make any sense out of all this...that'd be so awesome!

ectory "/var/qmail/bin/qmail-newu/vqadmin">
deny from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
</Directory>


~
~
~
~
~
~
~
~
~
~
~
and I got this after typing vi .htaccess I have no idea if there is something else i should type to get the password i'm looking for......

Thanks so much!
 
Old 07-22-2004, 11:54 AM   #8
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
Yup, that doesn't help much, does it?

Oookay, so what about the file /var/www/cgi-bin/vqadmin/.htaccess

Does it exist, and if so, what's in it? Does it have a AuthUserFile field?
 
Old 07-22-2004, 04:27 PM   #9
isamitch
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks so much!

Okay so I typed vi var/www/cgi-bin/vqadmin/.htaccess


and this is what I got:

uthType Basic
AuthUserFile /usr/local/apache/conf/vqadmin.passwd
AuthName vQadmin
require valid-user
satisfy any
~
~
~
~
~
~
~
~
~
~
~
~
~
~

and um....I'm not too sure about what to do next

Thanks for all your help!

Isa
~
 
Old 07-22-2004, 05:23 PM   #10
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
That's it!

/usr/local/apache/conf/vqadmin.passwd is the file your password is stored in!
 
Old 07-23-2004, 10:30 AM   #11
isamitch
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks so much for your help! But I think i'm still having some trouble. I tried opening /usr/local/apache/conf/vqadmin.passwd in my vi editor and i got pretty much a blank screen. Should I have done something else? It kind of looks like my password isn't there

Okay, thanks so much again for all yourhellp!
 
Old 07-23-2004, 02:57 PM   #12
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
Could you try:

$ su (enter the root password when prompted)
# less /usr/local/apache/conf/vqadmin.passwd

What is the output of

$ ls -l /usr/local/apache/conf/vqadmin.passwd
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgot PASSWORD !!! bipinkdas Ubuntu 2 03-27-2005 11:37 AM
forgot my password navaladi Linux - Newbie 2 12-22-2004 09:47 AM
forgot password =( ?!?! j_miguel_y Linux - General 1 08-31-2004 12:58 PM
forgot email password bosewicht Linux - Newbie 1 06-07-2004 08:05 AM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:41 PM.

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