LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-27-2004, 03:27 PM   #1
pfunck123
LQ Newbie
 
Registered: Feb 2003
Location: ill
Posts: 13

Rep: Reputation: 0
Unhappy building dbase for virutal user


Hello,
I am little lost.
I am trying to create a dbase for virtual users for vsftpd. Is there a command to create a dbase. I am using suse9.1 professional. I am following the instructions from http://www.debiansec.com/linux/services/ftp.html. But this person is using debian.


Thanks in advance.
Pete
 
Old 10-27-2004, 03:33 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Code:
Not Found
The requested URL /linux/services/ftp.html. was not found on this server.

Apache/1.3.31 Server at www.debiansec.com Port 80
Hard to say, really, and there is no dbase for Linux,
there's only some opensource xbase toolkits.


Can you explain what you're trying to achieve?


Cheers,
Tink
 
Old 10-27-2004, 05:21 PM   #3
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Tink

Try without the ' . ' at the end, like this

http://www.debiansec.com/linux/services/ftp.html

Pete ( Not pfunck123 Pete )
 
Old 10-28-2004, 01:31 PM   #4
pfunck123
LQ Newbie
 
Registered: Feb 2003
Location: ill
Posts: 13

Original Poster
Rep: Reputation: 0
I am trying to create virtual users as listed in the http://www.debiansec.com/linux/services/ftp.html , so I can disable system users from logging into the ftp.



Thank in advance
(instructions listed below are for creating virutal user in debian).......


"creating virtual users (PAM)

Before being able to login, we need to create a valid user. Depending on the PAM authentification backend this steps could vary. For instance when using a database as authentification backend you would require addind that user to the specified table.

If you would like to follow from the above PAM sample configuration, you will need the db_load program for creating the file in common database format. When using Debian just apt-get install libdb3-util. Afterwards you need to create a file which contains the login and on the next line the password:
sample accounts.tmp (for building accounts.db)
user1
password_for_user1
user2
password_for_user2

After creating the accounts.tmp, which is just a list of usernames and passwords, you need to build the database with db3_load -T -t hash -f accounts.tmp /etc/vsftpd/accounts.db. Afterwards you can erase your accounts.tmp since it is no longer required - until you upgrade your username/password database. You should now set pretty restrictive permissions to the database: chmod 600 /etc/vsftpd/accounts.db"
 
  


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
Virutal Root Directory Murdock1979 Slackware 1 08-05-2005 09:19 AM
kernel building as user linuxhippy Slackware 2 03-29-2005 07:10 PM
Name Based virutal host in apache Inexactitude Linux - Networking 9 04-11-2004 11:11 PM
building rpms as non-root user - temp probs frogman Linux - Software 2 11-23-2003 05:41 PM
virutal host not opening notorious_guy Linux - Networking 0 08-06-2003 04:27 AM


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