LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2012, 03:24 AM   #1
BloodFuryZombie
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Rep: Reputation: Disabled
Angry 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
 
Old 06-03-2012, 06:41 AM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
Lightbulb



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.
 
Old 06-04-2012, 04:03 PM   #3
BloodFuryZombie
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
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?
 
Old 06-05-2012, 02:04 AM   #4
vp0619520
Member
 
Registered: Jan 2012
Posts: 55

Rep: Reputation: Disabled
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.
 
Old 06-05-2012, 04:37 AM   #5
BloodFuryZombie
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Firewall is not running. I can connect through Putty fine.

What limit am I looking for? lol
 
Old 06-05-2012, 04:44 AM   #6
vp0619520
Member
 
Registered: Jan 2012
Posts: 55

Rep: Reputation: Disabled
Quote:
Originally Posted by BloodFuryZombie View Post
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.
 
Old 06-05-2012, 04:47 AM   #7
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
Lightbulb

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.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
add new user with same permissions? Tom6 Linux - Newbie 1 10-26-2010 11:17 AM
[SOLVED] filesystem permissions question - making so user can't change permissions? c0pe Linux - Security 4 07-12-2010 09:06 AM
Add root permissions to user... buccaneere Linux - Security 12 06-06-2010 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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