dbTalk Databases Forums  

Limiting user log ons

comp.databases.pick comp.databases.pick


Discuss Limiting user log ons in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
drdanny
 
Posts: n/a

Default Limiting user log ons - 02-08-2011 , 04:17 PM






D3 Release Version 7.4.2.RS

AIX 3.5



In my environment, is there any way to limit a user to a single log
on?



Thanks,



danny

Reply With Quote
  #2  
Old   
Ross Ferris
 
Posts: n/a

Default Re: Limiting user log ons - 02-08-2011 , 06:56 PM






Typically I'd say this is a function of the application ....

A technique you could use, assuming every user has a unique logon in
AIX (?) could be to have their profile attach to a specific D3 line,
eg:

.....
d3 -123
exit

This would mean that in this case the user would ALWAYS be connected
to PIB 123, and if they tried to login a second time they would logoff
with a port already connected style message

Reply With Quote
  #3  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: Limiting user log ons - 02-09-2011 , 12:03 AM



Set this line as atb12 of selected Users items, all other macro lines
should go in attributes after this:
RUN SOMEACCOUNT,BP, FORCE1

Compile this program in SOMEACCOUNT,BP:

EXECUTE "WHO ":@USER CAPTURING OUT
IF OUT<2> # "" THEN EXECUTE "EXIT"

HTH

Reply With Quote
  #4  
Old   
Dale
 
Posts: n/a

Default Re: Limiting user log ons - 02-15-2011 , 07:45 PM



I had created a better functionality that used a control file to allow
different users to have a different number of logons. This was handy
so that a parts counter could have multiple logons, but not an
excessive number of logons.

All that needs to be done is to enhance the method that Tony has put
forth.

Dale


On Feb 8, 10:03*pm, Tony Gravagno <tony_grava... (AT) nospam (DOT) invalid>
wrote:
Quote:
Set this line as atb12 of selected Users items, all other macro lines
should go in attributes after this:
RUN SOMEACCOUNT,BP, FORCE1

Compile this program in SOMEACCOUNT,BP:

EXECUTE "WHO ":@USER CAPTURING OUT
IF OUT<2> *# "" THEN EXECUTE "EXIT"

HTH

Reply With Quote
  #5  
Old   
Frank Winans
 
Posts: n/a

Default Re: Limiting user log ons - 03-15-2011 , 01:22 PM



Quote:
"Dale" <dbenedict99 (AT) gmail (DOT) com> wrote
I had created a better functionality that used a control file to allow
different users to have a different number of logons. This was handy
so that a parts counter could have multiple logons, but not an
excessive number of logons.

All that needs to be done is to enhance the method that Tony has put
forth.

Dale
I'm partial to nuking the oldest logon session of same userid, not newest...
That way an old hung session doesn't prevent you from logging on again,
if D3 for whatever reason doesn't get the dcd signal. Although to do
this you need to parse output of LU @USER instead of just WHO @USER
or maybe go look in pibs file directly.

Also, if @account is "dm" or "sysprog" or any other known non-application
account, you maybe shouldn't nuke the session even if @user is a dupe, since
they're likely doing system maintenance, not office work.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.