Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 6 of 6
  1. #1
    zeke_mn is offline Registered User
    Join Date
    Jul 2005
    Posts
    7
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Restrict user logon times

    In Windows XP I can use the command:

    net user username /time:M-Su,5pm-11pm

    to restrict my 15 yr old son from logging on except during those hours.

    Is there a similar command I can run from terminal?

    I don't need anything too fancy like Mac Minder, just something to delay his computing time until the evening. It kills my wife and me to see him staring at a screen on a beautiful summer day. We are not always home so nagging only goes so far (and doesn't work very well any way).

    Thanks.

    Steve

  2. #2
    Natobasso's Avatar
    Natobasso is offline Tech-Bot 5000
    Join Date
    Jul 2002
    Location
    Auckland, New Zealand
    Posts
    3,370
    Thanks
    1
    Thanked 24 Times in 23 Posts
    Using scripts to schedule tasks:
    http://www.macdevcenter.com/pub/a/ma...nmacxpanther8/

    Remember, just post once either in these forums or the 'Free Tech Support' link. Your question won't get answered if it's posted more than once. Just a word to the wise.

  3. #3
    zeke_mn is offline Registered User
    Join Date
    Jul 2005
    Posts
    7
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Natobasso, thanks for the advice. BobW from one-to-one support suggested that I also post on the forums. I didn't know which section to post to so I posted to multiple sections thinking it would reach a different section of the community. I won't do that again.

  4. #4
    Natobasso's Avatar
    Natobasso is offline Tech-Bot 5000
    Join Date
    Jul 2002
    Location
    Auckland, New Zealand
    Posts
    3,370
    Thanks
    1
    Thanked 24 Times in 23 Posts
    Sorry, hope I didn't sound too heavy handed. If Bobw told you to do it then it's probably ok. Just wanted you to know the protocol...

    Did my suggestion help you at all?

  5. #5
    zeke_mn is offline Registered User
    Join Date
    Jul 2005
    Posts
    7
    Thanks
    4
    Thanked 0 Times in 0 Posts
    It was an interesting link, but I didn't see anything about scheduling or restricting logon times. I also tend to be cautious with system level terminal commands. I am always afraid I might mess something up. I did find the command ac -d users username is helpful in monitoring usage after the fact. Better than nothing I guess.

    Off the topic a bit, your link did steer me toward using the scheduled waking of my iMac so I won't have to use MacJanitor to run daily maintenance scripts. So far, after just one day it hasn't worked. (daily did not run at 03:15 although the iMac did wake itself.)

    Thanks again for your help.

  6. #6
    Natobasso's Avatar
    Natobasso is offline Tech-Bot 5000
    Join Date
    Jul 2002
    Location
    Auckland, New Zealand
    Posts
    3,370
    Thanks
    1
    Thanked 24 Times in 23 Posts
    Looks like Mac Minder is the way to go:
    http://www.versiontracker.com/dyn/moreinfo/macosx/15893

    Gives you full control and monitoring capabilities for each user account.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •