Dell PowerStore 3000X EMC PowerStore Service Scripts Guide - Page 69

Gain root privileges (svc_service_shell), Actions, Usage, Format

Page 69 highlights

Actions Action enable list disable Description Grant login access to a service user on an appliance. List all users who have login access to an appliance. Remove service user login access on an appliance. 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 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) on page 30 for more information about the svc_inject script. Usage Function Mode Usage Requires service user password? Requires root privileges? May cause data unavailability? May cause data loss? Scope Prerequisites Recovery Normal or Service Service No No No No Node None Format svc_service_shell [-h] [--cmd SHELL_CMD_ARGS] Service Commands 69

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74

Actions
Action
Description
enable
Grant login access to a service user on an appliance.
list
List all users who have login access to an appliance.
disable
Remove service user login access on an appliance.
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)
on page 30 for more information about the
svc_inject
script.
Usage
Function
Recovery
Mode
Normal or Service
Usage
Service
Requires service user password?
No
Requires root privileges?
No
May cause data unavailability?
No
May cause data loss?
No
Scope
Node
Prerequisites
None
Format
svc_service_shell [-h] [--cmd SHELL_CMD_ARGS]
Service Commands
69