Apple Mac OS X Server Print Service Administration For Version 10.4 or Later Uživatelský manuál Strana 169

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 232
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 168
Chapter 9 Managing Preferences 169
6 Select “Enable Fast User Switching to allow users to use this feature. Deselect this
option to disable it.
7 Click Apply Now.
Enabling Automatic Logout for Idle Users
You can reduce load on your servers and help keep user accounts more secure by
automatically initiating logout after a period of inactivity. When the set amount of time
has passed, the user is logged out and returned to the login window.
Note: This feature is for clients running Mac OS X version 10.3 and later.
To log a user out automatically:
1 In Workgroup Manager, click Preferences.
2 Make sure the right directory is selected and that you are authenticated for it.
To switch directories, click the small globe above the accounts list. If you are not
authenticated, click the lock.
3 Click the Computer Lists button and select one or more accounts.
4 Click Login.
5 Click Auto Log-Out and set the management setting to Always.
6 Adjust the slider to set the amount of time a user can remain inactive before automatic
logout occurs.
7 Click Apply Now.
Login and Logout Scripts
Login scripts allow you run a routine script whenever a user logs in to a particular
computer. Since login or logout scripts run as root, they are very powerful. You must be
careful that the scripts don't harm the system settings or user files. You can add a login
script to a computer in two ways. You can add a LoginHook to a specific computer or
you can apply a login script to a computer list using Workgroup Manager. This section
will describe how you can configure login scripts for computer lists in Workgroup
Manager. Similarly, you can add logout scripts to customize the logout experience.
To set up a login or logout script execute the following commands at each
client:
1 Set the key “EnableMCXLoginScripts” in ~root/Library/Preferences/
com.apple.loginwidow.plist to TRUE.
$ sudo defaults write com.apple.loginwindow.plist
EnableMCXLoginScripts -bool TRUE
Zobrazit stránku 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 231 232

Komentáře k této Příručce

Žádné komentáře