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

[K12OSN] RE: Time sensitive logins



I dont' know an official samba way -- but if your cron job did the trick
per user, you could script for all users, like:

--------snip---------
#!/bin/bash
for USER in `ls /home/`;
do smbpasswd -e $USER;
done;
----------snip---------

I've never used SAMBA -- so I could be off-base, but it looks good to me. :)


>smbpassed -e username
>
>to enable in the morning, and
>
>smbpasswd -d username

-- 
Shawn Powers
Technology Director
Inland Lakes Schools
PHN: 231-238-6868 ext 9174
FAX: 509-356-7024
spowers inland k12 mi us






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