[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] Time sensitive logins



Hi all!

Is there an official way to allow or disallow logins on a server based
on time of day?
Not so much worried about anything except the samba logins.  Using RH7.3
and samba 2.2.x (not sure of exact version at this time).

I used the smbpasswd command in a cron job to enable and disable logins
at times by running:

smbpassed -e username 

to enable in the morning, and

smbpasswd -d username

to disable it in the afternoon.  This works OK for one user and maybe
for several, but is there an 'official' way to do it?
Thanks

-- 
Doug Simpson
Technology Specialist
De Queen Public Schools
simpsond leopards k12 ar us
Tux for President!





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]