The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
.netrc and ftp magikalpnoi AIX 4 07-07-2008 03:22 AM
using .netrc sveera UNIX for Advanced & Expert Users 6 03-26-2008 04:58 PM
.netrc file jithinravi UNIX for Dummies Questions & Answers 1 04-26-2007 06:01 AM
.netrc file grandtheftander UNIX for Dummies Questions & Answers 2 07-26-2006 12:10 PM
.netrc and ftp issue txdave UNIX for Dummies Questions & Answers 3 04-12-2005 11:32 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-22-2005
edu_escandor edu_escandor is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 4
Help in .netrc

Hi,

I would like to ask if the .netrc file should really be stored/placed in the /home/<userid> directory or in the home directory indicated by the uinfo command?

I am currently having problems with a .netrc file which is owned by a id which has it's home directory pointed to a different directory rather than /home/<userid>

Thanks in advance for any information that you can share.

Thanks!
  #2 (permalink)  
Old 03-22-2005
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
Never use .netrc files! Major risk, as you end up with unencrypted passwords stored in all users' home directories.

But regarding your question, the .netrc file should be in the directory that is the home directory for the user as specified in the /etc/passwd file (or returned by calls such as getpwent). The /home/<userid> directory is not necessarily <userid>'s home directory.
  #3 (permalink)  
Old 03-22-2005
edu_escandor edu_escandor is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 4
Thanks blowtorch! This definitely helps!
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0