in the sudo configuration file. This config file is edited by executing visudo in the root user context.
visudo defaults to using vi as the editor. If you are more comfortable with another editor, you can change visudo's behavior by setting the EDITOR environment variable to the alternate editor of your choice. For example:
will tell visudo to use the nano editor instead.
1. Log in as the root user. 2. From the root command prompt, execute the following commands: export EDITOR=nano visudo 3. Find two lines containing strings as below. Most probably, the lines will be commented out with the # sign. You have to remove that sign, so the lines are treated as valid properties, not comments.
4. Press CTRL+X on the keyboard to trigger the close routine in nano, you will be prompted to save changes, press Y, and accept the default file name. 5. visudo will validate the changes and update the sudo configuration. 6. After the changes are made, they will not fully take effect until after running:
service rtmgate restart
Restart is needed due to fact that during rtmgate startup, one of the tasks it performs is to estimate the tick for adjtimex command. If compuware account does not have enough rights, the tick is set to default, which in most cases is not effective. Restart of the service allows rtmgate to recalculate the tick properly.