configure max login count - SCO

This is a discussion on configure max login count - SCO ; In openserver 5.0.X i need to limit the possible logins for each user. Each user should only be able to login twice. In the system documentation i only found info about limiting the number of procecces per user but this ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: configure max login count

  1. configure max login count

    In openserver 5.0.X i need to limit the possible logins for each user. Each
    user should only be able to login twice.
    In the system documentation i only found info about limiting the number of
    procecces per user but this is no help.
    Currently i do a workaround in the profiles using finger|grep username|wc -l
    but the profiles get changed from time to time during
    application updates. Maybe there is a os-feature to help on this matter.
    Any suggestions?

    Dieter



  2. Re: configure max login count

    In article ,
    Dieter Springer wrote:
    >In openserver 5.0.X i need to limit the possible logins for each user. Each
    >user should only be able to login twice.
    >In the system documentation i only found info about limiting the number of
    >procecces per user but this is no help.
    >Currently i do a workaround in the profiles using finger|grep username|wc -l
    >but the profiles get changed from time to time during
    >application updates. Maybe there is a os-feature to help on this matter.
    >Any suggestions?


    Move the check from the users' .profiles into /etc/profile, with exceptions for
    those who shouldn't be limited.
    Also, 'finger -fq username' avoids the need for 'grep username'.

    John
    --
    John DuBois spcecdt@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/

+ Reply to Thread