OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Darren Moffat (Darren.MoffatSun.COM)
Date: Wed May 01 2002 - 10:38:18 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    > Is there anyway to set time restrictions for users on Solaris 8? (Other
    >NOS that can do this is Novell) For Example: Set user bsombdy account so
    >that they can log on from 8am to 6pm.

    Write a PAM module that implements pam_sm_acct_mgmt.

    There are various already existing PAM modules available if you do a
    Google search.

    One such page is: http://www.comsmiths.com.au/pam/index.html

    Note that Sun Microsystems does not officially endorse the modules listed
    on the above URL.

    If this is important functionality for you then please pass this to
    your Sun Account Manager if you have one so that the functionality
    can be considered for some future release of Solaris.

    If you need them to be logged out at the end of that time period then
    the issue becomes more complex since you need a daemon process that would
    kill off their login sessions.

    --
    Darren J Moffat