Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 05-26-2004, 04:18 PM   #1
Registered: Feb 2004
Posts: 36

Rep: Reputation: 15
trouble logging in to ftp with .netrc

Hello, i am having trouble logging in to my ftp server.
i am trying to ftp to localhost and i get this error message

i do $ftp localhost

Connected to rhLinux9.
220(vsFTP 1.1.3)
530 Please login with USER and PASS
530 Please login with USER and PASS
KERBEROS_V4 rejected as an authentication type
Error - .netrc file not correct mode.
Remove password or correct mode.

my ~/.netrc file looks like this:

machine localhost
login testuser
password test12345

this looks right to me!
But i am probally wrong

whats my problem?
Old 10-27-2005, 02:15 PM   #2
LQ Newbie
Registered: Oct 2005
Posts: 3

Rep: Reputation: 0
Well... i actually had the same problem 5 minutes ago and was about to post the same question lol.
but the solution is very simple if (manual helped me)

u need to set correct permission für the .netrc file (i used konqueror [ view > show hidden files ] ).
That file should'nt be readable by anyone besides u. Set the privileges that way, so only YOU can read or change the file, others are not permitted to even view the file (security stuff).

(read the manual for "netrc" and the line where it explains the "password" entry)

good luck!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Konqueror FTP passive/active problem & .netrc perl21 Linux - General 0 03-17-2005 05:43 PM
Trouble logging in spartn119 Slackware 11 12-14-2004 04:31 PM
Trouble Logging in to FTP server phatboyz Linux - Networking 6 09-02-2004 08:39 AM
having trouble logging in paul62 Slackware 2 03-28-2004 07:52 AM
How to set anscii mode in FTP using .netrc gendreau Linux - Newbie 1 08-08-2003 01:05 PM > Forums > Linux Forums > Linux - General

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration