Home > Aix Error > Aix Error Netrc File Not Correct Mode

Aix Error Netrc File Not Correct Mode

Is the FTP server on Linux or Windows? I made a script to download the Alert Log, look for errors, and email me the trace files. kind of strange. Are you aComputer / IT professional?Join Tek-Tips Forums!

Are you new to LinuxQuestions.org? Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. IBM: AIX Forum Results 1 to 10 of 10 Thread: ftp without a username and password Tweet Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode CONTINUE READING Suggested Solutions Title # Comments Views Activity non-interactive authentication of sftp command in AIX 5.3 15 135 129d ftpcommand 2 41 63d Move nodes from one TSM to another. find this

That is why you are having problems. and Quote: chmod 600 .netrc . Otherwise, the file is ignored. I dont think i answered your question but im also not really sure what you are asking.

The user performing the ftp on DEV1 is Mike and is logging into DEV2 and DEV3 as user Chug I log in to DEV1 with the username called Mike. It looks something like this, with the specifics changed for obvious reasons. so chmod 600 ~/.netrc and try again 0 Message Author Comment by:sam152011-03-04 kind of stange. This is great and this is what I wanted on DEV3 also.

Forgot your password? Driver performace "Kernel Mode" and "Module Mode"? 11. """"""""My SoundBlast 16 pnp isn't up yet"""""""""""" 12. Reason: Specify OS Canis Polaris View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Canis Polaris 11-25-2008, 04:06 PM #2 pdtpatrick LQ if the user hits the enter button twice the ftp session is initiated) any ideas Remove advertisements Sponsored Links w33man View Public Profile Find all posts by w33man #2

Error - .netrc file not correct mode. I created a .netrc file which looks something like : machine wwwdev login genericid password zyxwvut I added an entry to /etc/inet/hosts to the machine I want to ftp to. Register now while it's still free! Why didn't the man page say anything about the owner having exclusive rights to read the .netrc file?

See "man netrc", it's in the first description paragraph. - Andy The_Duck wrote: > I cannot figure out why it is 'not correct mode: > > testweb - /export/wlserver> ftp bighost.com It will *only* read that file and use the entries in it if the permissions are 600 (or 400 or 700, but 600 will do fine). 0 Message Author Comment Having 777 permissions on the ftp program is very dangerous - it means that anyone can overwrite the program with a potentially dangerous new version. Does this impact anything?

Evidentally you need chmod 400 on the file -- - The_Duck Posted via [url]http://dbforums.com[/url] The_Duck Guest July 16th,11:05 PM #3 Re: .netrc not working (.netrc file not correct mode) Andy wrote: Home Services Forums Advertise Contact or Login Login to Your Account Remember Me? Just starting out and have a question? ftp> Remove advertisements Sponsored Links w33man View Public Profile Find all posts by w33man #5 09-22-2003 Perderabo Unix Daemon (Administrator Emeritus) Join Date: Aug 2001 Last Activity:

Password Linux - Newbie This Linux forum is for members that are new to Linux. I searched for "ftp AND .netrc" and got everything including threads that happened to mention ftp somewhere but never said anything about .netrc. Are you also saying that the ftp program would not run with 777 permissions assigned. You may have to register before you can post: click the register link above to proceed.

Many platforms are supplied already compiled. Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free. pdtpatrick View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by pdtpatrick 11-25-2008, 04:15 PM #3 Canis Polaris LQ Newbie Registered: May 2007

For example, if you are accessing a machine on your network and you can either use the bare hostname (e.g.

Do you have three accounts listed under one machine name in the .netrc, or three machines each with their own user account? by Dan Merc » Tue, 08 Dec 1998 04:00:00 > Hi, > I'd like to configure a machine so it can ftp > to another host without an interactive password > If you have two accounts Go to Solution 7 Comments LVL 2 Overall: Level 2 Perl 1 Message Assisted Solution by:clayhopkins2011-03-04 It probably means you either don't have access to Remove password or correct mode. 221 Goodbye.

Error - .netrc file not correct mode. Connected to machinename.. 220 AXIS 540/542 FTP Printer Server V5.31 Feb 21 1997 ready. All Rights Reserved. My question is: Is there a line limit for the .netrc file?

Already a member? Close Reply To This Thread Posting in the Tek-Tips forums is a member-only feature. set the permissions from the file "chmod 400 .netrc" (r--------) Greetings from germany Peter F. Canis Polaris View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Canis Polaris 11-25-2008, 04:34 PM #4 colucix LQ Guru Registered: Sep

See "man netrc", it's in the first description paragraph. - Andy The_Duck wrote: > I cannot figure out why it is 'not correct mode: > > testweb - /export/wlserver> ftp bighost.com Remove password or correct mode. 221 Goodbye. Join & Ask a Question Need Help in Real-Time? The .netrc file is specific to a single user (since it is in that user's home directory), and only that user can be allowed to read/write it.

If it is not in the man pages or the how-to's this is the place! Cancel Red Flag SubmittedThank you for helping keep Tek-Tips Forums free from inappropriate posts.The Tek-Tips staff will check this out and take appropriate action. machine nn.nn.nn.nn login theuserthatneedstologin password theuserspassword I then try to execute the ftp command with the line: ftp nn.nn.nn.nn and this is what I get. [[email protected] ~]$ ftp nn.nn.nn.nn Connected to Powered by vBulletinCopyright ©2000 - 2016, Jelsoft Enterprises Ltd.Forum Answers by - Gio~Logist - Vbulletin Solutions & Services Home Register New Posts Advertising Archive Privacy Statement Sitemap Top Hosting and Cloud