Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerStore Service Scripts Guide

Gain root privileges (svc_service_shell)

This service script enables you to gain root privileges and run commands that require root privileges.

Before using the svc_service_shell script, you must enable it using the svc_inject script:

  1. Generate a key to enable root escalation: svc_inject generate-key --root
  2. Contact your service provider to get response key.
  3. Copy the response key and use it with the svc_inject script to enable root escalation: svc_inject run <response_key>

If the command successfully completes, you are granted root level access and can run the service_shell script as shown in the following example:

svc_inject run
194E3-2CDB8-1B367-D3D51-C9100-28BDA-5BDC0-906F9-00
 
Current Challenge:
19478-FC2C3-06C82-5FD3D-3A5F7-E73A9
 
 
INFO: Response successfully validated!
INFO: Enabling tool ...
INFO: Successfully enabled svc_service_shell
INFO: Run "svc_service_shell" to be granted root level access for servicing this system

See Inject troubleshooting software tool (svc_inject) for more information about the svc_inject script.

Usage

FunctionRecovery
ModeNormal or Service
UsageService
Requires service user password?No
Requires root privileges?No
May cause data unavailability?No
May cause data loss?No
ScopeNode
PrerequisitesNone

Format

svc_service_shell [-h] [--cmd SHELL_CMD_ARGS]

Optional arguments

Table 1. Optional arguments Optional arguments, their related descriptions, and any applicable variable usage.
Qualifier Description
-h, --help Show the help message and exit.
--cmd SHELL_CMD_ARGS Use this Linux command to gain elevated privileges in a Linux system and perform such functions as diagnosing and triaging a system.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\