How to allow certain user to use FTP?


 
Thread Tools Search this Thread
Operating Systems AIX How to allow certain user to use FTP?
# 1  
Old 11-07-2013
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.
# 2  
Old 11-07-2013
Not the best choice of user name, but can you show us the output from (as root):-
Code:
# lsuser test | tr " "  "\n"         - translate space to newline
# ls -ld /home/ari/test
# grep ftpd /etc/inetd.conf
# ps -ef | grep ft[p]

Can you also show us the error messages you are getting. Please post the output in CODE tags to make it easier to read.

This will give us something to work from.

Thanks,
Robin
Liverpool/Blackburn
UK
# 3  
Old 12-11-2013
when you say failed, what do you mean?

FTP shows error codes when trying to login eg. authentication failed. i would change that user id to maybe test-ftp or anything besides just test.
# 4  
Old 12-12-2013
Other prospective places to look are the files /etc/ftpaccess.ctl (see IBMs ftpd man page), possible ACLs or privileges on the ftp client (/usr/bin/ftp), your environment (which may contain misleading macros, an incomplete PATH variable and the like) and a running ftpd-daemon on the target machine (see /etc/inetd.conf).

Probably the one or other myriad of things i just happen not to think about right now too.

You might get better answers if you ask better questions, like techy1 already mentioned.

I hope this helps.

bakunin

Last edited by bakunin; 12-12-2013 at 10:57 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP User

Dear Unix geeks, I am shocked and upset that I couldn't solve the below issue. One ftpuser was using his account for years to get data from server but reported an error today. 220 (vsFTPd 2.0.4) Name (10.130.9.71:root): rbiftp 331 Please specify the password. Password: 500 OOPS: cannot... (2 Replies)
Discussion started by: Naga06
2 Replies

2. 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

3. Shell Programming and Scripting

rights to FTP user

hi i want create a user to ftp (get) files from the 2nd machine. but i want to give specific rights to that user that he can't access only specific files and directories. please suggest (1 Reply)
Discussion started by: dodasajan
1 Replies

4. UNIX for Advanced & Expert Users

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... (2 Replies)
Discussion started by: amitpansuria
2 Replies

5. 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

6. Shell Programming and Scripting

ftp and user/password

I know the typical way to script automate an ftp session is to pass all of the commands to ftp, with something 'like' the following: echo USER $user echo PASS $pass My question concerns other methods or tricks people have used so that the username and ESPECIALLY the password are... (7 Replies)
Discussion started by: joeyg
7 Replies

7. UNIX for Dummies Questions & Answers

ftp user

How to create an FTP user with password???? (1 Reply)
Discussion started by: tontal
1 Replies

8. Solaris

FTP user

Dear all, i need to create FTP user with limited permissions: this user is only allowed to ftp from a certain directory, and he cant view or list any other file or directory, i want the him to be denied even from cd / .. he cant list root or any other directory , only the directory he is... (2 Replies)
Discussion started by: mduweik
2 Replies

9. AIX

FTP user

Hello When i connect with anonymous login to Aix server, I can not to put or get file with this login. How can I modify it to put file on the server ? I think that it is with genftp.allow but I'm not sure (there is not the anonymous login in the genftp.allow file). thank you (0 Replies)
Discussion started by: pascalbout
0 Replies

10. 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
Login or Register to Ask a Question