CLI Guide
Omcong Preferences Useraccess
Depending on the policies of your organization, you may want to restrict the access that some user levels have to Server Administrator. The
omcong preferences useraccess command allows you to grant or withhold the right of users and power users to access Server
Administrator. The following table displays the valid parameters for the command:
Table 62. Enabling User Access For Administrators, Power Users, And Users
Command Result Description
omcong preferences useraccess
enable=user
Grants Server Administrator access to
Users, Power Users, and Administrators.
Least restrictive form of user access.
omcong preferences useraccess
enable=poweruser
Grants Server Administrator access to
Power Users and Administrators.
Excludes user level access only.
omcong preferences useraccess
enable=admin
Grants Server Administrator access to
Administrators only.
Most restrictive form of user access.
Omcong Preferences Logging
Use the omcong preferences logging command for ltering the OS logs using the attributes.
Table 63. Valid Parameters Of
Omcong Preferences Logging
name=value pair 1 name=value pair 2 Description
attribute=osloglter logcrit=true|false logwarn=true|false
loginfo=true|false
Specify at least one of the three attributes
(critical, warning or informational), else an
error message is displayed. A command log
entry is created after running the omcong
command. The OS logging settings persist on
Server Administrator restart and upgrade.
omconfig preferences logging
attribute=oslogfilter
logcrit=<true|false>
logwarn=<true|false>
loginfo=<true|false>
NOTE: The OS logging lter
command is applicable when the OS
logging lter component is installed.
attribute=archiveesmlog setting=Enable|Disable
Enabling the command allows you to create
an automatic backup of ESM Logs. After the
backup is created, ESM logs of the Server
Administrator and the SEL entries of
iDRAC/BMC are cleared. The process is
repeated whenever the logs are full.
The backup les are:
Windows: <Install_root>\omsa\log
\omsellog.xml
Linux and ESXi: <Install_root>/var/log/
openmanage/omsellog.xml
94 Omcong Managing Components Using The Instrumentation Service