Administrator's Server Preferences: admin Utility

The admin utility is used to manage Plesk administrator control panel interface preferences and view the administrator's personal information and interface preferences through CLI.

Syntax

admin <command> [

<option_1> [<param>]

[<option_2> [<param>]]

…[<option_N> [<param>]]

Example

The following command line sets the administrator's control panel default skin WinXP Olivegreen, sets the default interface language for Plesk administrator to Russian, and applies interface customization template CustomTemplate to the administrator's control panel.

# ./admin --update -skin "WinXP Olivegreen" -locale -ru-RU -template CustomTemplate

Commands

Command

Parameter

Description

Example

-update or -u

 

Updates Plesk administrator's server preferences.

To set the WinXP Olivegreen skin as the default skin:

# ./admin --update -skin "WinXP Olivegreen"

or

# ./admin -u -skin "WinXP Olivegreen"

--info or -i

 

Displays Plesk administrator's personal information and preferences.

To display Plesk administrator's personal information and preferences:

# ./admin --info

or

# ./admin -i

--xml-info or -xi

 

Displays Plesk administrator's personal information and preferences in the XML format.

To display Plesk administrator's personal information and preferences in the XML format:

# ./admin --xml-info

or

# ./admin -xi

--help or -h

 

Displays help on the use of the utility.

To display help on the use of the admin utility:

# ./admin --help

or

# ./admin -h

Options

Option

Parameter

Description

Example

-locale

<language code>

Sets the default interface language for Plesk administrator control panel (the Administrator's interface language parameter). The argument of the command must be a valid four-letter language code derived from the language code described in ISO-639-2 and the corresponding country code described in ISO-3166. For example, the Plesk code for the Italian language code is it-IT; the Plesk code for the American variant of English is en-US; the Plesk code for the British variant of English is en-GB.

To set the default interface language for Plesk administrator to Russian:

# ./admin -u -locale -ru-RU

-skin

<skin name>

Sets the default interface skin for Plesk administrator control panel (the Administrator's interface skin parameter).

To set the WinXP Olivegreen skin as the default skin:

# ./admin -u -skin "WinXP Olivegreen"

-template

<template name>

Applies an interface customization template to Plesk administrator's control panel (the Administrator's interface customization template parameter).

To apply customization template CustomTemplate to administrator's control panel:

# ./admin -u -template CustomTemplate

-multiple-sessions

true|false

Allows multiple simultaneous sessions under administrator's login (the Allow multiple sessions under administrator's login parameter).

To allow multiple sessions to run simultaneously under administrator's login:

# ./admin -u -multiple-sessions true

-max-button-length

<number>

Sets the maximum allowed button length (in symbols) for the Plesk administrator's control panel (the Button label length parameter).

To change the button label length for the domain administrator's control panel to 20:

# ./admin -u -max-button-length 20

-lock-screen

true|false

Sets the Prevent users from working with the control panel until interface screens are completely loaded parameter.

To prevent Plesk administrator from working with the control panel until control panel screens are completely loaded:

# ./admin -u -lock-screen true