LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-13-2003, 07:52 AM   #1
tuxandme
Member
 
Registered: Aug 2003
Posts: 33

Rep: Reputation: 15
only ftp login


Does anyone know if it is possible to make user accounts who only can login on ftp and not on something else (like ssh)

Beause i want to to a ftp server, but i dont want a anonymous login, or that th people who have teh ftp password can login whit ssh or something.

I have te set the ssh port open, because i need to login for some administrative tasks.

Does anyone know a solution?
 
Old 11-13-2003, 08:00 AM   #2
Yoss
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Rep: Reputation: 0
Hi tuxandme,

you can change the login shell of the ftp users.

read the manual of usermod (man usermod) .

usermod -s /bin/false <username>

In the file /etc/shells must be an entry "/bin/false" .

bye
Yoss
 
Old 11-13-2003, 08:06 AM   #3
tuxandme
Member
 
Registered: Aug 2003
Posts: 33

Original Poster
Rep: Reputation: 15
thnx a lot!
 
  


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
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
FTP won't login ne21 Slackware 1 12-10-2004 05:48 AM
ftp login only tuxguy Linux - General 3 03-19-2004 09:37 PM
ftp login -- ssh no login waffe Linux - General 4 12-27-2003 12:42 AM
Cannot login with FTP felixmd Linux - Newbie 4 02-05-2002 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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