![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, Our site is running Informix Dynamic Server 11 on Linux. Currently, when connecting to a server using dbaccess the user is prompted for his user name and password. What options are available so providing a user name and password is unnecessary, as the username and password is the same one as they used to log into their machine. Thanks, Steve _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list Steve |
#3
| |||
| |||
|
|
Date: Wed, 19 Dec 2007 15:57:12 +0000 From: smiley73 (AT) googlemail (DOT) com To: informix-list (AT) iiug (DOT) org Subject: Re: suppressing username and password prompts in dbaccess On 19/12/2007, skurlander (AT) yahoo (DOT) com <skurlander (AT) yahoo (DOT) com> wrote: Hi, Our site is running Informix Dynamic Server 11 on Linux. Currently, when connecting to a server using dbaccess the user is prompted for his user name and password. What options are available so providing a user name and password is unnecessary, as the username and password is the same one as they used to log into their machine. Thanks, Steve _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list Steve You need a trusted relationship between the two servers, look at a .rhosts file or hosts.equiv. Keith _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#4
| |||
| |||
|
|
From: skurlander (AT) yahoo (DOT) com Subject: suppressing username and password prompts in dbaccess Date: Wed, 19 Dec 2007 06:47:08 -0800 To: informix-list (AT) iiug (DOT) org CC: skurlander (AT) yahoo (DOT) com Hi, Our site is running Informix Dynamic Server 11 on Linux. Currently, when connecting to a server using dbaccess the user is prompted for his user name and password. What options are available so providing a user name and password is unnecessary, as the username and password is the same one as they used to log into their machine. Thanks, Steve _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#5
| |||
| |||
|
|
From: dcruncher4 (AT) aim (DOT) com Subject: Re: suppressing username and password prompts in dbaccess Date: Wed, 19 Dec 2007 10:48:15 -0800 To: informix-list (AT) iiug (DOT) org In article <e89947bf-d9fc-4f33-9ef4-dacf60193a7a (AT) v4g2000hsf (DOT) googlegroups.com>, skurlander (AT) yahoo (DOT) com says... Hi, Our site is running Informix Dynamic Server 11 on Linux. Currently, when connecting to a server using dbaccess the user is prompted for his user name and password. What options are available so providing a user name and password is unnecessary, as the username and password is the same one as they used to log into their machine. One the server machine (where IDS 11 is running), in that user's home directory you have to create a file .rhosts in which you mention the name of the client machine from where the users will connect. Also I am not sure how dbaccess is prompting for user name/password. AFAIK dbaccess does not prompt. You will get error from the database if you don't have appropriate permission. try this create a file test.sql with some dummy statement like database sysmaster; select 1 from systables where tabid = 1 ; run it $ dbaccess - test dbaccess should not prompt for password. It will fail unless you create the trust relationship between the client and the server via that .rhosts file I described above. _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#6
| |||
| |||
|
|
Hi, Our site is running Informix Dynamic Server 11 on Linux. Currently, when connecting to a server using dbaccess the user is prompted for his user name and password. What options are available so providing a user name and password is unnecessary, as the username and password is the same one as they used to log into their machine. Thanks, Steve |
#7
| |||
| |||
|
|
Date: Wed, 19 Dec 2007 19:43:24 -0500> From: dcruncher4 (AT) aim (DOT) com> To: im_gumby (AT) hotmail (DOT) com> CC: informix-list (AT) iiug (DOT) org> Subject: Re: suppressing username and password prompts in dbaccess> > My reply was to how to get dbaccess working without password.> We don't even know whether he is asking about dev or production> machine.> > Also how smart is to keep the same password in the client> and the server machine. I don't see it as any less of a threat> than creating .rhosts file.> > > Ian Michael Gumby wrote:> > Geez!> > >> How many times does it take before the message sinks in.> > > > .rhosts BAD. VERY BAD.> > BAD IDEA FROM THE START.> > > > You should NEVER, EVER LET YOUR USERS use .rhosts since it effectively > > allows them to say that Machine A is a safe and trustworthy machine.> > > > Not a problem if MachineA is sitting next to your server in the machine > > room.> > BIG PROBLEM if Machine A is sitting somewhere well outside your firewall > > and outsideof your control.> > > > Since most DBAs are NOT system administrators, talk to your system > > administrators and see what they say.> > > > Hosts.equiv is controlled by your system administrator (root access). > > You shoulduse this only for machines that are truly equivalent.> > (Like machine A load balances for machine B ...)> > > > Think of this as being much worse than running your IDS engine on a RAID > > 5 system.> > > > If I were your system administrator and you did this on one of my > > systems? I'd consider it a terminating offense. One where the use of a > > firing squad is a formof mercy.> > Please be paranoid. We don't want to see another TJX situation on an IDS > > platform now do we? (TJX was running Oracle. ;-)> > > > -G>> PS. Yes, I was at one time a BOFH ;-)> > > > > > > From: dcruncher4 (AT) aim (DOT) com> > > Subject: Re: suppressing username and password prompts in dbaccess> > > Date: Wed, 19 Dec 2007 10:48:15 -0800> > > To: informix-list (AT) iiug (DOT) org> > >> > > In article > > <e89947bf-d9fc-4f33-9ef4-dacf60193a7a (AT) v4g2000hsf (DOT) googlegroups.com>,> > > skurlander (AT) yahoo (DOT) com says...> > > >> > > >Hi,> > > >> > > >Our site is running Informix Dynamic Server 11 on Linux. Currently,> > > >when connecting to a server using dbaccess the user is prompted for>> > >his user name and password. What options are available so providing a> > > >user name and password is unnecessary, as the username and password is> > > >the same one as they used to log into their machine.> > >> > > Onethe server machine (where IDS 11 is running), in that user's home> > > directory you have to create a file .rhosts in which you mention the> > > nameof the client machine from where the users will connect.> > >> > > Also I am not sure how dbaccess is prompting for user name/password.> > > AFAIK dbaccess does not prompt. You will get error from the database> > > if you don't have appropriate permission.> > >> > > try this> > > create a file test..sql with some dummy statement> > > like> > > database sysmaster;> > > select 1 from systables where tabid = 1 ;> > >> > > run it> > > $ dbaccess - test> > >> > > dbaccess should not prompt for password. It will fail unlessyou> > > create the trust relationship between the client and the server> > > via that .rhosts file I described above.> > >> > > _______________________________________________> > > Informix-list mailing list> > > Informix-list (AT) iiug (DOT) org> > > http://www.iiug.org/mailman/listinfo/informix-list> > > >------------------------------------------------------------------------> > Get the power of Windows + Web with the new Windows Live. Get it now! > ><http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwi ndows_122007>= __________________________________________________ _______________ |
#8
| |||
| |||
|
|
Hi, Our site is running Informix Dynamic Server 11 on Linux. šCurrently, when connecting to a server using dbaccess the user is prompted for his user name and password. šWhat options are available so providing a user name and password is unnecessary, as the username and password is the same one as they used to log into their machine. |
|
connect to '@starfish'; Connected. |
|
connect to '@starfish' user 'marae'; ENTER PASSWORD: |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |