I'm not that familiar with LDAP, but I think a cron job could disable LDAP auth based access for certain times (i.e. reconfigure PAM to shut off ldap when you don't want them logging in) - I don't know if this will shut out users, but it can prevent them getting in.
On Fri, Dec 4, 2009 at 1:04 PM, Velocity <[email protected]> wrote: > Hmmm,thanks I was thinking of /etc/nologin via cronjob how can the > same be done for LDAP based authentication schemes.Is there any tool > which does this job. > > On Dec 4, 7:51 pm, [email protected] wrote: > > setup a cron job that disables their login? I think that > > usermod -l -e 1 <username> will do the trick > > > > On Fri, Dec 04, 2009 at 06:38:00AM -0800, Velocity wrote: > > > I want to know what can I do if I have to disable users login after a > > > certain period of day say evening or some specified time. > > > > > -- > > > You received this message because you are subscribed to the Linux Users > Group. > > > To post a message, send email to [email protected] > > > To unsubscribe, send email to > [email protected] > > > For more options, visit our group athttp:// > groups.google.com/group/linuxusersgroup > > > > > > -- > You received this message because you are subscribed to the Linux Users > Group. > To post a message, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit our group at > http://groups.google.com/group/linuxusersgroup > -- Daniel -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup
