user is not able to FTP to system.


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users user is not able to FTP to system.
# 1  
Old 10-20-2008
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
# 2  
Old 10-20-2008
The user needs to have a valid shell to use FTP, so /bin/false will prevent that.

Perhaps it would be better to give them a valid shell and create a root-owned .profile in their home directory which just exits.

By the way, it's "Role Based Access Control".
# 3  
Old 10-20-2008
Quote:
Originally Posted by Annihilannic
Perhaps it would be better to give them a valid shell and create a root-owned .profile in their home directory which just exits.
Actually, that's not very good advice because they will presumably own their home directory, which means they can remove that .profile if they have a clue.

Perhaps better to add some code to /etc/profile to exit if that user logs in... or maybe you can use PAM to do it...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How Do I FTP System Files to Different Server?

Hello, I have a legacy system that is running on SCO OpenServer 5.0.6, and the hardware is becoming a little sketchy. I replaced the hard drive about a year ago, and was able to come back from a tape backup of my entire system. I have been successful with building a VM with VMware Workstation,... (42 Replies)
Discussion started by: spock9458
42 Replies

2. UNIX for Beginners Questions & Answers

FTP from Widows to UNIX system - how to? ( was To not to duplicate)

Dear team , thanks for your support. I am trying to not to duplicate a thread if one is already there for what I am looking, which I am not able to figure out. Is it OK if I post the post the following question in new thread. --- What follows was in blue.. we are to avoid using colours as we want... (4 Replies)
Discussion started by: ar103081
4 Replies

3. AIX

How to allow certain user to use FTP?

Hello AIXians, I created a user 'test' its home directory is: /home/ari/test I tried to login by ftp using this account, but it failed! The FTP service is enabled, and the user 'test' is not added to the /etc/ftpusers file. (3 Replies)
Discussion started by: Mohannad
3 Replies

4. Solaris

Ftp user

Hello everybody, In Solaris 10, how I can create an user with only access ftp to directory specify ? thanks, (2 Replies)
Discussion started by: aav1307
2 Replies

5. OS X (Apple)

system() in carbon & FTP

Hey, I'm trying to establish a connection to FTP in carbon using the system() function, but I'm not sure how to supply my FTP password in the same command. For example, I have: system("ftp myusername@mydomain.net"); It then obviously prompts for the password, so I tried this (below)... (0 Replies)
Discussion started by: lectersmeal
0 Replies

6. Shell Programming and Scripting

FTP files to target Mainframe system

Hi Experts... Greetings for the day..! I just want to FTP the files to mainframe system.. my code is not working..and also i need to put the files in a particular directory in a specific naming format... ftp -i -n ${HOST_NAME} << END_FTP user ${USER_NAME} ${PASSWORD} put ${FILE_NAME}... (3 Replies)
Discussion started by: spkandy
3 Replies

7. HP-UX

FTP User

UNIX Xperts, Is there a way i can find out who is currently ftping into my server? The problem I am facing is that there is currently a ftp process running which is trying to login using the wrong password. And this is causing me to constantly have to reset the password /enable the account by... (1 Reply)
Discussion started by: simshark
1 Replies

8. Solaris

Secure FTP Problem using Sun SSH on Client system F-Secure on Server system

I am using shell script to do secure ftp. I have done key file setup to do password less authentication. Following are the FTP Details: FTP Client has Sun SSH. FTP Server has F-Secure. I am using SCP Command to do secure copy files. When I am doing this, I am getting the foll error scp:... (2 Replies)
Discussion started by: ftpguy
2 Replies

9. UNIX for Dummies Questions & Answers

FTP user

In my system , the user can use ftp to access the system , how to restrict the user can only access a specific path eg . user's home directory & /tmp ? thx (3 Replies)
Discussion started by: ust
3 Replies

10. Programming

Need help about realizing an ftp-like system.

Hi people! As you can read in the subject, I have a project at the University that requires me to realize a ftp-like through the sockets, in C. This is what I've been told so far, and since I'm studying Unix now for the first time I have little idea of where to start. Does anybody know of a... (1 Reply)
Discussion started by: OpSys
1 Replies
Login or Register to Ask a Question