Contents

Introduction

Problem

Solution

Introduction

This document describes how to use sudo on a worker Virtual Machine (VM).

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.

Problem

After the launch of a worker VM and access of the console, when you try to become the root user by the execution of the sudo command, you are presented with the message as shown in the image:

Solution

As a security mechanism, by default, the cliqruser does not have sudo permissions. You can grant access with the modification of the application profile.

Documentation page: http://docs.cloudcenter.cisco.com/display/CCD48/Service+Properties

On the Topology modeler, under Node Initialization & Clean Up is a box that says Sudo Command List. Enter ALL in the box, as shown in the image.

Alternately, you can specify which specific commands the user can have access to, separate the commands with a semicolon.

You have to deploy a new application for the new settings to take effect.