LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 06-07-2005, 01:39 AM   #1
ust
Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 951

Rep: Reputation: 30
control user access


I use wsftp on RH system , if I want to only allow my login ID to use ftp to access the RH server , what can I do ? thx
 
Old 06-07-2005, 08:05 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,121

Rep: Reputation: 121Reputation: 121
Add something like:

/bin/false

To your /etc/shells file and then change the user's shell in /etc/passwd to /bin/false

This way they can only use the built-in commands with FTP and won't be able to login by any other means without a valid shell.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control amount of time a user may be logged in. (Parental Control) darrensnospam Mandriva 13 02-18-2006 05:01 PM
Access Control Firewall Trano Linux - Networking 3 02-23-2005 08:08 AM
I lose ftp access when I disable shell access for user captainObvious Linux - General 3 11-13-2004 05:49 PM
user access control Risc91 AIX 11 06-17-2004 05:12 AM
Samba Upgrade Watch (For User Level Access Control Support) Larry James Linux - Networking 7 11-08-2000 11:13 AM


All times are GMT -5. The time now is 11:04 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration