LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permissions Add User (https://www.linuxquestions.org/questions/linux-newbie-8/permissions-add-user-948272/)

BloodFuryZombie 06-03-2012 04:24 AM

Permissions Add User
 
So, I'm working on getting a FTP server running.

I'm getting the 530 Permission Error.

I can login to the FTP server perfectly on my Linux box by typing "ftp localhost", but whenever I try on my other PC that is on the same network, it doesn't seem to login.

Quote:

Status: Connecting to 192.168.1.19:21...
Status: Connection established, waiting for welcome message...
Response: 220 (vsFTPd 2.2.2)
Command: USER root
Response: 530 Permission denied.
Error: Could not connect to server
The main question is, how in the hell do I give permissions to that user? I want to give full permissions to my user "bloodfuryzombie".

Thanks

jv2112 06-03-2012 07:41 AM

:twocents:

The credentials on the other machine are no good. You can look at or create the ".netrc" file in the home directory of the user.

Code:


man ftp

man ssh


I have a arch systems in my personal network and use ssh all the time to do maitenance on all the users. I generated a key and copied those keys to the other clients so I can have paswordless login. I mention this because on my system FTP appears to use the same credential system as I do not have a .netrc file and I do not need a password to log in.

Hopefully these two leads help. ;)

BloodFuryZombie 06-04-2012 05:03 PM

I'm new to Linux, and I have no clue what you just said. lol

Any step by step things I can do to get this working?

vp0619520 06-05-2012 03:04 AM

Is the iptables running in your server?You can use this command to check that:
Code:

service iptables status
.Also you can check your vsftpd.conf with the path
Code:

/etc/vsftpd/vsftpd.conf
to see if there is any limit.

BloodFuryZombie 06-05-2012 05:37 AM

Firewall is not running. I can connect through Putty fine.

What limit am I looking for? lol

vp0619520 06-05-2012 05:44 AM

Quote:

Originally Posted by BloodFuryZombie (Post 4695847)
Firewall is not running. I can connect through Putty fine.

What limit am I looking for? lol

You can have a look at that conf file,and check if the value of "userlist_enable" is "YES",change it from "YES" to "NO".Then restart the service of vsftpd,and have a try.

jv2112 06-05-2012 05:47 AM

If you go to a teerminal prompt and type "man" then the command the online manual will come up.

According to the online manual for ftp the credentials are checked before login in the ~.netrc (hidden file in the users home directory.)

I do not have that on my personal network but have set up credentials for ssh sessions.

Code:

Run at terminal from the machine that is trying to connect:

sshkeygen
-- Genrates a key to be shared.

ssh-copy-id

--- Use this command to copy to the host your credentials


Hope this clears it up somewhat.


All times are GMT -5. The time now is 12:06 AM.