Re: Informix Star and Login Id
Posted in 1994
Topics: Security, Permissions & Auditing
In article ntf@emory.mathcs.emory.edu, dahake@lzusp.spm.att.com (-Vaibhav Dahake) writes: |Is it necessary to have the same user logins on the remote database |server and local client to access the database? | |I have attempted to use .netrc file and it gave error -952, |(User's password is not correct for the database server) |even though the password is correct. |The sanity of the .netrc file was verified using ftp. | |If there is no .netrc file then Informix reports error -951. | |We have Informix Online 5.02UC1 and Star 5.02UC1 on SunOS 4.1.3 on |Sparc 690. | | |Thanks, |Vaibhav Dahake | As far as I know, informix is quite sensitive to the user being able to access the remote machine. (Seems fairly sensible to me I guess.) Things like .rhosts files are important. I have never tried a situation where you have a different user login on the remote machine. I didn't know informix looked at .netrc, but it seems like your best bet. The alternative situation is where you are able to access any Informix engine on any machine as any user, which would not be very nice, so it needs some way of deciding whether you should be allowed acess. When you try to do something on a remote machine in Informix, it has no opportunity to ask you for a password, and so must be allowed to acess the machine without one. It will not try your password on the remote machine, as it does not know what it is. A good rule is if you can rlogin to the machine without a password, Informix should work correctly. (I think....?) Hope this helps a little. - Ben Kelley. -- Ben Kelley (Good Guy) - SBC Australia Ltd. Hey wow! If your hold the thinnet cable to your ear, ben@syd.au.swissbank.com (Preferred) you can hear the information kelley@il.us.swissbank.com (NeXT mail OK) 22 wheelers... (Children - don't Phone +61 2 258 2382 ("Hello, this is Ben.") try this at home.)