Automated user lockout during certain hours

Steve steve at videogroup.com
Wed Oct 31 10:45:14 GMT 2001


This sounds like a better solution. Does it also kick out a current user?


On Wednesday 31 October 2001 11:01, you wrote:
> 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

-- 
 
Steve Szmidt
V.P. Information
Video Group Distributors, Inc.




More information about the samba mailing list