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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-26-2003, 10:42 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Posts: 2
Rep:
|
How to convert a txt file to be a db file in Redhat linux 9?
I am setting a virtual user FTP server.
I want to convert a txt file such as login.txt to be a db file such as login.db
I am using Redhat linux 9
How to do?
I try the command "db_load -T -t bash -f ~/logins.txt /etc/vsftpd/login.db", but the system not work, and say the command not found.
|
|
|
06-27-2003, 12:31 AM
|
#2
|
LQ Guru
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
|
what do you mean by database just changing the extension does going to effect anything are you going to insert it to a database like mysql? if so which database?
|
|
|
06-27-2003, 01:03 AM
|
#3
|
LQ Newbie
Registered: Jun 2003
Posts: 2
Original Poster
Rep:
|
I try to open other origenal *.db file in RH9 by openoffice calc by dbase format, but i can't read the text in the file, maybe the file is not in dbase(*.dbf) format.
did you try "db_load -T -t bash -f ......." in redhat 8 ?
any way, I use vsftpd service in RH9, and type the command by "root".
|
|
|
06-27-2003, 08:33 AM
|
#4
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
Which database is your FTP server getting the authentication info from? LDAP, MySQL, PostgreSQL, Berkeley? If it's Berkeley, you can do something simple like:
makemap hash login.db < login.txt
|
|
|
All times are GMT -5. The time now is 09:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|