LinuxQuestions.org
Review your favorite Linux distribution.
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 10-23-2008, 12:34 AM   #1
amit_pansuria
Member
 
Registered: Sep 2006
Posts: 73

Rep: Reputation: 15
user is not able to FTP to system.


Helo,
I have created one group called RBAC.(roll back access control)

Now when I created user of RBAC its entry in /etc/passwd file is given below:

roleadm:x:120:109:RBAC User:/home/pds_RBAC:/bin/false

I have keep at the end /bin/false because I dont want to give direct login to the user on the system

But RBAC type of user is not able to FTP to system.

can you tell me why this happen. what is needed to enable FTP for user

Regards,
Amit
 
Old 10-23-2008, 01:30 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
Ensure that the user is not in /etc/ftpusers

This file keeps a list of users prohibited from using FTP
 
Old 10-23-2008, 01:37 AM   #3
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
edit the /etc/shells file and put a line

/bin/false

then edit your /etc/passwd file and then try the default shell to /bin/false

hope it works
thanks
 
Old 11-12-2008, 05:59 AM   #4
amit_pansuria
Member
 
Registered: Sep 2006
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Disillusionist View Post
Ensure that the user is not in /etc/ftpusers

This file keeps a list of users prohibited from using FTP
Helo there is no /etc/ftpusers files
 
Old 11-14-2008, 01:59 AM   #5
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
I know this is a bit obvious but, have you set a password for the user?
 
  


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
Unable to FTP as user but can FTP as Root acharya_rl Linux - Enterprise 5 09-05-2006 06:57 AM
FTP System User by Name in Linux (VS-ftpd) honey bee Linux - Networking 2 01-24-2006 08:08 AM
C program to see user log on in system and print user with real user name also naveen245 Programming 2 12-21-2005 12:53 AM
how to deny user to use ftp to access system ust Linux - Software 4 05-23-2005 08:39 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 02:07 PM

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

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