Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 09-19-2004, 10:20 AM   #1
LQ Newbie
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
Lost Password file when user deleted

I set up a test user in htpassword and then deleted that user.
htpassword was not recognised as a valid file so I deleted it figuring that it was now just a standard text file <blush>

How do I set up a replacement htpassword file please ?
Sorry - it's such a newbie question ... but I tried searching this site and others for hours without luck before I plucked up the courage to be so publicly ignorant <g>.

I really need to use htpassword and not htpasswd as another company has this as their entry to my system or I'd just have
Old 09-19-2004, 12:02 PM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
is there an htpasswd file there??

if so just copy and re-name it to...........htpassword

goofing around as root can be "deadly"..........never delete anything until you know exactly what it does or doesn't do or what it is used for...........
Old 09-19-2004, 12:12 PM   #3
LQ Newbie
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Lost Password file when user deleted

Thanks for that ... I'll do just that !


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
deleted, formated, lost . Linux to the rescue! oldstinkyfish Linux - Software 4 08-02-2005 04:26 PM
How to store password file so it could not be deleted? softnayr Programming 4 09-25-2004 02:04 PM
Deleted User... Sonshyne Linux - Newbie 1 06-23-2004 06:53 PM
i deleted my user jonesnm Fedora 1 05-20-2004 11:20 AM
Any reason user 'operator' is in the password file? LionKing Linux - Security 8 06-12-2001 09:54 AM

All times are GMT -5. The time now is 12:53 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