Results 1 to 2 of 2

Thread: limiting time per day account

  1. #1
    alecava1 NNTP User

    Default limiting time per day account

    I would like to enable an account for max 2 hours per day from 12:00 to 18:00.
    I tried to use time.conf without success.

    Can I do that?

    Thanks in advance

  2. #2
    Join Date
    Jun 2008
    Blog Entries

    Default Re: limiting time per day account

    6.32.pam_time - time controled access

    It's meant to be used with pam_time, so you have to add pam_time to the appropriate /etc/pam.d/* file, probably common-account, as pam_time only supports the account service. Probably you need an additional line:

    account required pam_time

    Careful that you don't lock yourself out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts