LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-01-2005, 04:54 AM   #1
switch007
LQ Newbie
 
Registered: Dec 2004
Posts: 18

Rep: Reputation: 0
Manaing ftp/ssh users


I want an environment where i can add users and they can have access to ftp and ssh, but where i can choose whether they can have one or the other or both.

im using openssh and proftpd. I read about 'virtual' users for ftp, wouldnt that get messy, one method of adding users for ssh and another for ftp.

I though about using gruops, eg users in ftp can access ftp and users in ssh can access ssh, but how can i get openssh and proftp to check access depending on groups?

Im really confused, how do you do it?

Thanks
 
Old 01-01-2005, 10:27 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Well, you could set up a couple new groups, ftponly and sshonly, and assign new users to either those or leave them as users. Then set up ssh to allow both users and sshonly group and proftpd to allow users and ftponly groups. For proftpd, check out the AllowGroup directive. OpenSSH has a similar system.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup FTP users only users on LInux Fedora Soujiro Linux - Newbie 8 09-13-2010 07:34 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
limiting users who can gain ftp or ssh access bluefmc427 Linux - Security 1 07-03-2003 04:17 AM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM
Ssh Users Look At This! DavidPhillips Linux - Security 11 09-16-2002 02:06 PM

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

All times are GMT -5. The time now is 08:30 AM.

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