Automated user lockout during certain hours

Ariel Mella ariel at jusbaires.gov.ar
Wed Oct 31 08:21:18 GMT 2001


i think you can use the option of  smbpasswd -d to "disable" user xxx....
you can put a cronjob to disable the users you dont want to log during xxx
hours minutes ... then re-enabled the users...

----- Original Message -----
From: "Chris Tooley" <ctooley at amoa.org>
To: <samba at samba.org>
Sent: Wednesday, October 31, 2001 12:10 PM
Subject: Re: Automated user lockout during certain hours


> A cron job to kill the samba service would work (any locked files aren't
> going to be backed up unless you break the connection) if you want to
> deny access to everyone to the box at the same time.
>
> You may want something more sufisticated.
>
> Chris
>
> On Wed, 2001-10-31 at 08:39, samba-admin at lists.samba.org wrote:
> > Hi,
> >
> > I've been through a few places including the book Linux Samba Server
> > Administration and cannot find anything on something that allwos me to
deny
> > access during certain hours so that backup can be done safely.
> >
> > One method I thought of was to copy in a new smb.conf with different
> > settings. I figure something better should exist.
> >
> > All servers are running 2.4 kernels and latest samba.
> > --
> >
> > Steve Szmidt
> > V.P. Information
> > Video Group Distributors, Inc.
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>





More information about the samba mailing list