How to verify user defaults.
If you want to view the defaults, type the useradd command with the -D option as follows:
# useradd -D
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel
CREAT_MAIL_SPOOL=yes
You can also use the -D option to change defaults. When run with this flag, useradd refrains from actually creating a new user account; instead, it saves any additionally supplied options as the new default values in /etc/login.defs. Not all useradd options can be used.
To set any of the defaults, give the -D option first; then add any of the defaults you want to set. For example, to set the default home directory location to /home/everyone and the default shell to /bin/tcsh, type the following:
# useradd -D -b /home/everyone -s /bin/tcsh
How to hide the user interface elements related to mail services from the Control Panel:
1. In the Server Administration Panel, go to Settings > Mail Server Settings (in the Mail group
2. Clear the Enable mail management functions in Panel checkbox.
3. Click OK.
Alternately, you can hide these elements by using the server_pref command line utility:
On Linux systems
/usr/local/psa/bin/server_pref -u -disable-mail-ui true
If you need to restore the mail management controls, you can do so either by going to Server Administration Panel > Settings > Mail Server Settings, and selecting the Enable mail management functions in Panel checkbox, or by using the command line utility:
On Linux systems
/usr/local/psa/bin/server_pref -u -disable-mail-ui false
Reference: http://parallels.net/
Switch the power user mode off through API RPC:
Send the following request packet to the server:
[packet version="1.6.3.0"]
[server]
[set]
[mode]standard[/mode]
[/set]
[/server]
[/packet]
Reference: http://parallels.com/
How to switch the power user mode off
How to switch the power user mode off and return to the standard panel view through the command line:
On Linux systems, issue the command:
/usr/local/psa/bin/poweruser –off
Reference: http://parallels.com/
How to enable the power user mode through API RPC
Send the following request packet to the server:
[packet version="1.6.3.0"]
[server]
[set]
[mode]poweruser[/mode]
[/set]
[/server]
[/packet]
Enabling the power user mode via API RPC does not create a default webspace.
The default webspace information will be requested and created as soon as admin logs in to the Panel
Reference:http://parallels.com/