LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 07-21-2004, 02:36 PM   #1
urBan_dK
LQ Newbie
 
Registered: Jul 2004
Location: Seattle, WA
Distribution: SuSE, FreeBSD
Posts: 5

Rep: Reputation: 0
Using PAM with FreeBSD? New Linux user please help!!


I have a Cobalt Qube3 which I intend to use as an FTP server for our small company here in Seattle. It uses a variant of FreeBSD with Linux Kernel 2.2 (if memory serves).

I would like to use vsftpd as my FTP server program, but I need to figure out a way to allow virtual users for access to their own FTP directories on the box. There will not need to be anonymous access. From what I understand, I need PAM to do the virtual user authentication.

In essence, I need to know if I can install PAM on the Qube3 appliance. I'm new to Linux, so please excuse me if I don't seem very lucid.
 
Old 07-21-2004, 04:07 PM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Uh, are you using FreeBSD or Linux?

These aren't the same operating system.

What does the command "uname -a" spit out?
 
Old 07-21-2004, 04:14 PM   #3
urBan_dK
LQ Newbie
 
Registered: Jul 2004
Location: Seattle, WA
Distribution: SuSE, FreeBSD
Posts: 5

Original Poster
Rep: Reputation: 0
I'm using FreeBSD. Thanks for clarifying. I'll have to take a look at what that command spits out when I get back home to where the appliance is.
 
Old 07-21-2004, 07:12 PM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Okay, you do not need to install PAM. It is part of the base system. You can find all the files relating to it in /etc/pam.d/

You probably will want to read the file README in that directory if you plan on making any changes. Now, you want people to log in and be brought to their home directory? Or do you want people to log in and only have access to their home directory?
 
Old 07-21-2004, 11:29 PM   #5
urBan_dK
LQ Newbie
 
Registered: Jul 2004
Location: Seattle, WA
Distribution: SuSE, FreeBSD
Posts: 5

Original Poster
Rep: Reputation: 0
I am going to want people to only have access to their own virtual directory and not "see" any of the other directories. They should be able to have complete control over the directory except they shouldn't be able to delete their own directory.
 
Old 07-21-2004, 11:47 PM   #6
urBan_dK
LQ Newbie
 
Registered: Jul 2004
Location: Seattle, WA
Distribution: SuSE, FreeBSD
Posts: 5

Original Poster
Rep: Reputation: 0
On closer examination I realize that the OS is infact LINUX
I'm sorry I haven't been accurate. After entering in "uname -a" I get:
Linux myserver.mydomain 2.2.16C35_III #1 Fri Nov 19 13:46:34 PST 2004 i586 unknown
 
Old 07-22-2004, 11:00 AM   #7
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
It doesn't matter that much. The proceedure is still similar -- although I am unsure how Linux does PAM. Your best bet would be to try and install it and see how it works.

I know that vsftpd has an option that chroots everyone into their home directory. I also know that FreeBSD has some protection for breaking out of chroot jails while I _believe_ linux doesn't. I can't speak 100% for Linux though.

Install it and play around. If you find that it just refuses to work... you might want to post an updated question in Linux-general or something.
 
Old 07-22-2004, 01:09 PM   #8
urBan_dK
LQ Newbie
 
Registered: Jul 2004
Location: Seattle, WA
Distribution: SuSE, FreeBSD
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for your help. I appreciate it. Do you happen to know where I can get PAM that is compatible with Linux Kernel 2.2? If not, I'll go post where I should have in the first place.
 
  


Reply



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
As a FreeBSD user, what is the best things you like about FreeBSD? t3gah *BSD 6 06-10-2005 02:38 PM
PAM obtain user id bob66 Programming 0 04-02-2005 06:52 PM
HowTo allow a user to call PAM APIs EddyHahn Linux - Security 1 12-07-2004 01:51 AM
PAM set a no user login policy varoquau Linux - Security 2 10-28-2003 06:37 AM
PAM User Login Authentication Failure robeb Linux - Security 5 11-16-2002 08:01 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:27 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
Open Source Consulting | Domain Registration